Can't get to the ARSim web site

@alexander.hefner @hobi so I am back at this again..

I have setup a brand new W11 VM, and installed nothing.. not even a windows feature or any updates

I put the ARSim app (c:\temp\wls2 as per requirement) and it starts ok . .(goes green)..

On the suggestion above, I started the app, and then looked to see if anything is listening on 81… and its not..

As you can see above, IP6 initially had something, so I disabled ip6 and nothing is listening on IP4 on port 81

So I figure what the heck.. created the VM again, but this time installed IIS and re test to see if anything was better.. and still nothing

I renamed the temp directory to see if I could get that popup allow the app through the firewall as suggested, but no luck either..

So I a now stuck … I don’t know what to do to enabled(?) port 81 to be listening… I would have through the Arsim would do all that….

Any further tips to try ?

H

Hi,

no new ideas from my side, I’m sorry.

Whats about port 80? If SDM is enabled in the project where the ArSim was built on, there should be a different webserver running, reachable at http://localhost/sdm

Any response on that url?

Best regards.

Yes I do get a response on that URL

Is there anything here I can use to figure out the problem ??

Hi,

with opening SDM, I only wanted to see if an other network service of ArSim is reachable, or if there’s a general network issue inside the VM.

No idea how to proceed to be honest :frowning:

Could you please generate a system dump with SDM (creates a tar.gz package with some information of the PLC) and a complete output of netstat (without filtering for a specific port, just forward the netstat console output to a text file), and upload both files here?

I don’t have much hope to find something, but I’ll check that data if I see something strange inside. (I’m on a business trip right now, could take some time to have a look inside).

Best regards!

PS: I forgot to mention, IIS or any other external software / service is definitely not needed for the mappView webserver in ArSim.

Hi …

If I understood you correctly, you have a “naked” Windows 11, prop. with no updates (?) and no additional “things” installed.
You copied onto this machine only the ARsim folder and started the ARsim?
It might be that you’re missing some Microsoft Libraries, which are usually installed with Automation Studio.

So, if possible, you might want to install AS on your VM … just to confirm that this is (also not) working.

Open a terminal (cmd.exe) and navigate into your ARsim folder. You should have a “ar000loader.exe” in that folder, start it.
This should bring up ARsim - but hopefully reveal missing libraries.

I’d also check the “Console” tab of the ARsim windows - it should contain some messages related to mapp View. Maybe there is something indicating why it did not start.

CHH

HI @hobi

Yeah I am thinking the same.. nothing is installed its just copied onto the clean PC and then the exe is run

Any idea on what the runtime requirements are … dot net something ??? or anything else I should installed first and see if it then works..

H

Hi @heath.dillon and @hobi ,

because the issue didn’t leave me alone, I tried to reproduce it - and at least I found something that looks quite similar, even if I’m not sure if it’s the same cause.

I installed a fresh, bare Windows 11 pro 24H2 as into a VirtualBox VM on my private device, and copied the ..Temp\Simulation… subfolder from a mappView project using some 4.73 Automation Runtime on it. And yes, after doing so, AR started, everything looked like expected (Ar was in run, SDM was reachable) but mappView wasn’t accessible by localhost:81.

So I digged a bit deeper into and tried several installations of Microsoft .NET and VC++ redist packages used also by Automation Studio setup, but nothing changed.
After having a deeper look into the console output of ArSim, I found one entry that wasn’t clear to me: a message about a QTCore4.dll error.

This DLL (and many others) are part of the Simulation folder, so I ruled out that that this DLL is missing. Nevertheless, as Windows DLL error code 126 often means “some ressource is missing”, I inspected the QTCore4.dll static dependencies and checked what’s available on my W11 VM installation: two DLLs were not available in the Windows\SysWOW64 directory, msvcp100.dll and msvcr100.dll

Google said, those DLL are part of an older MS VC++ resdist. package (2010 SP1 and later). As I found both on my WIndows 11 development system in Windows\SysWOW64, I just copied them to the same path of my W11 inside the VM.

And finally, after restarting mappView was accessible after starting ArSim.

I hope this information helps a bit (even if in the console output of last year there wasn’t such an error message). Best regards!
Alex

1 Like

Magic !!! Awesome…

After installing Visual C++ 2010 SP1 it works… 100%

I could not get the latest redistribution to work but 2010 sp1 did

Thanks so much !!!

Heath

2 Likes