HTTP Error 500.30 - ANCM In-Process Start Failure in .Net Framework

Dung Do Tien Jun 14 2022 559

Hi Guys, I have a project with mvc framework 4.7  and clone it from GitHub after config to run on IIS server 8.0 I got an error HTTP Error 500.30 - ANCM In-Process Start Failure.

HTTP Error 500.30 - ANCM In-Process Start Failure

Common solutions to this issue:
- The application failed to start
- The application started but then stopped
- The application 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

For more information visit:

Below is my web.config file

<?xml version="1.0" encoding="utf-8"?>
  For more information on how to configure your ASP.NET application, please visit
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.6.2" />
    <httpRuntime targetFramework="4.6.2" requestValidationMode="2.0" enableVersionHeader="false" relaxedUrlToFileSystemMapping="true" />
    <pages validateRequest="false" />
    <httpCookies httpOnlyCookies="true" />
    <sessionState mode="StateServer" />
  <appSettings file="Web.SECRETS.config">
    <add key="handlerURL" value="/Handler.ashx" />
        <add name="Access-Control-Allow-Origin" value="*" />
      <add name="UrlRoutingHandler" type="System.Web.Routing.UrlRoutingHandler, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" path="address/*" verb="GET" />
      <add name="UrlRoutingHandler1" type="System.Web.Routing.UrlRoutingHandler, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" path="dapp/*" verb="GET" />
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />
        <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />
        <assemblyIdentity name="System.Interactive.Async" publicKeyToken="94bc3704cddfc263" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="3.0.3000.0" />
        <assemblyIdentity name="Google.Apis" publicKeyToken="4b01fa6e34db77ab" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />
        <assemblyIdentity name="Google.Apis.Auth" publicKeyToken="4b01fa6e34db77ab" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion="" />

Below is my environtment: 

  1. IDE : Visual 2019
  2. Language : C# MVC 4
  3. Framework: .Net framework 4.7
  4. Server: IIS

Thanks you for any solution!

Have 1 answer(s) found.
  • M

    Manichandra Moirangthem Jun 14 2022

    Hi, I have really got the same issue in As.Net Framework 4.6. I think it's the same with Asp.Net Framework 4.7. Here is my solution:

    You need to add a list of default documents by using tag <defaultDocument>

            <clear />
            <add value="default.aspx" />
            <add value="Default.htm" />
            <add value="Default.asp" />
            <add value="index.htm" />
            <add value="index.html" />
            <add value="iisstart.htm" />

    This tag will be added inside <system.webServer> tag of the web.config file.

    In some cases, someone lack of default.aspx file. Don't add duplicates.

    It's really worked for me.

Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close