I am creating an ASP .Net Core (2.0) MVC application within Visual Studio 2017 which was working absolutely fine.
After turning off my computer yesterday and coming back to my application today, I now receive this browser error when I start the application in chrome without debugging.
Running dotnet run within the directory of the application, I can access the site just fine. It is just when I run it via Visual Studio/IIS Express I get this error.
HTTP Error 502.5 - Process Failure
The application builds and compiles just fine. I have also cleaned the solution.
Looking in the event logs I find:
- Application 'MACHINE/WEBROOT/APPHOST/MYAPP' with physical root 'C:\Users\Ben Hawkins\Desktop\Development Folder \Dev\Website\Version_2\MYAPP\MYAPP\' failed to start process with commandline 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Microsoft\Web Tools\ProjectSystem\VSIISExeLauncher.exe -argFile "C:\Users\Ben Hawkins\AppData\Local\Temp\tmp3547.tmp"', ErrorCode = '0x80004005 : 0.
Within my output window in Visual Studio 2017 I recieve this message under ASP NET CORE WebServer
Failed to initialize CoreCLR, HRESULT: 0x80131534
What I have tried:
- Cleaning the solution, rebuilding etc
- Restarting the computer
- Trying to launch another application. (Same result)
- Created a new application from scratch. Same result.
- Repairing Visual Studio Community 2017. Same result.
- Stopping/Closing IIS Express
My setup was working perfectly yesterday and suddenly is not.
Thank you for your time. I hope we can find a solution.

0x80131534on .net core is aCOR_E_TYPEINITIALIZATIONerror (per source code here). It doesn't have anything to do with time zones. Just because two different applications return the same integer error code does not mean that the error is the same. See also issues in coreclr with that error code. - Matt Johnson-Pint