IIS Deployment of Asp.net Core



My website seems to face issues while running on a Windows server with IIS. However, I have not encountered any problems while working on it using Visual Studio 2019 on my local machine.

This is an MVC Web Application with
asp.net core
. However, upon attempting to run the website after publishing to the local folder, uploading everything to the server, and creating the website in IIS, an error occurs.

HTTP Error 500.30 - ANCM In-Process Start Failure

I have encountered this error on the event viewer.

Application '/LM/W3SVC/12/ROOT' with physical root 'c:Websmynetcoremvc' failed to load coreclr. Exception message:
CLR worker thread exited prematurely

Please note that I have an additional version of
API application
running seamlessly on the server, both of which are in version 3.1.0.


It’s necessary to identify the error being thrown by your startup.cs in order to resolve the issue. I had similar trouble with KeyVault authorization problems.

Frequently Asked Questions

Posted in Uncategorized