.NET Core5 MVC/WebAPI - HTTP Error 500.30 - ASP.NET Core app failed to start

created at 08-24-2021 views: 1

No error is reported in the program, VisualStudio runs normally, but it is 500.

Log

Two new exception logs will be found in the event viewer every time you open it

The first one: Application'/LM/W3SVC/2/ROOT' with physical root project path failed to load coreclr. Exception message: CLR worker thread exited prematurely

The second one: Application'/LM/W3SVC/2/ROOT' with physical root project path has exited from Program.Main with exit code = '0'. Please check the stderr logs for more information.

solution

Check the newly created class/file to see if there is only one line in their references; symbolic

 class references

I can access it normally after removing it... This is very strange...

NET
Please log in to leave a comment.