vbguyny / ws4kp

WeatherStar 4000+
https://battaglia.ddns.net/twc
MIT License
414 stars 112 forks source link

HTTP Error 500.0 - ASP.Net Core IIS hosting failure (in-process) #114

Closed mikemaddenn closed 4 months ago

mikemaddenn commented 4 months ago

Hello; I'm trying to get this setup but after following the steps to install and navigating to http://localhost/ws4kp, I am receiving this error.

 HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process)
Troubleshooting steps:

    Check the system event log for error messages
    Enable logging the application process' stdout messages
    Attach a debugger to the application process and inspect

image

I double checked that the correct .NET hosting bundle version is here and it looks right. Additionally, in Event Viewer I see two logs:

Failed to start application '/LM/W3SVC/1/ROOT/ws4kp', ErrorCode '0x8007023e'.

Application 'C:\ws4kp-master\' failed to start. Exception message:
Executable was not found at 'C:\ws4kp-master\bin\Debug\net8.0\ws4kp.exe' # note that this path doesn't exist

Any idea what I might be doing wrong? Thank you.

vbguyny commented 4 months ago

@mikemaddenn try downloading the files from https://github.com/vbguyny/ws4kp/tree/master/bin

mikemaddenn commented 4 months ago

@vbguyny Thanks for replying so quickly. Interestingly that did bring the site up, but I'm stuck with a black screen and no ability to select a city/zip.

Have you seen this issue before?

image

vbguyny commented 4 months ago

There might be an error in your browser. Could you bring up the console and let me know if you see any errors.

mikemaddenn commented 4 months ago

A few interesting things here. I receive the "Unable to unlock screen orientation" when just visiting the page, which is interesting because it's in the OnFullScreen method and I'm running this out of windowed mode.

As for the other errors, the GET failure to that geocode API comes up when trying to search a location, and the last typeerror occurs when clicking any buttons (play, menu, etc.). Thanks for the help troubleshooting.

image

vbguyny commented 4 months ago

It appears to be similar to the issue described in https://github.com/vbguyny/ws4kp/issues/82 Take a look at the thread and try the solution on your end.

mikemaddenn commented 4 months ago

Yep, this fixed it. Thanks again for the help. Awesome emulator

vbguyny commented 4 months ago

You are very welcome 😁