简体   繁体   中英

Failed to create CoreCLR, HRESULT: 0x80004005

I had clone a microservices in my local device and when ever I started that project I got that error IIS Express is running. Failed to create CoreCLR, HRESULT: 0x80004005

HTTP Error 500.30 - ASP.NET Core app failed to start Common solutions to this issue: The app failed to start The app started but then stopped The app started but threw an exception during startup 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

And this error come up in the view try each and everything like check environments variable check and updating Asp.net SDK's

And this error come up in the view try each and everything like check environments variable check and updating Asp.net SDK's

@alvarez response was the solution for me (running asp.net 7 in k8s).

Set the environment variable COMPlus_EnableDiagnostics to 0 in either your Dockerfile or k8s config yaml, and it'll start & run correctly with a readonly filesystem!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM