Base solution for your next web application
Open Closed

HTTP Error 500.30 - ANCM In-Process Start Failure #7778


User avatar
0
kasem created

Hi

System can't run in production. I'm getting the following error after your recent upgrade to In-Process mode:

HTTP Error 500.30 - ANCM In-Process Start Failure

Logs are written empty on Logs folder.

It's really urgent to fix this soon! thanks


6 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, there could be some incorrect startup configuration in your application.

    For example,

    • app.AddScope()/app.addSingleton() multiple times with the same interface
    • malformed appsetting.json
    • etc

    See https://github.com/aspnet/AspNetCore/issues/8980

  • User Avatar
    0
    kasem created

    Thanks for your quick response.

    The problem that app is working properly locally but corrupted when deploying the published version to production.

    How can I identify the problem if everything is working fine locally?

    Please note that I use same configuration file for the last version and it works fine

    Also I can't find app.AddScope or app.AddSingleton in Startup file. Did I miss anything?

    Note that the following configurations have been added to web.config:

      <environmentVariables>
        <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
        <environmentVariable name="COMPLUS_ForceENC" value="1" />
      </environmentVariables>
      
    

    I changed Development to Production in the deployed version. I also tried it with Development but got other errors related to corrupted appsettings I think.

  • User Avatar
    0
    ismcagdas created
    Support Team
  • User Avatar
    0
    kasem created

    Thanks a lot @ismcagdas for your great support!!

  • User Avatar
    1
    bluescopesteel created

    Support - I keep finding a lot of your links are broken. Where is https://github.com/aspnetzero/aspnet-zero-core/issues/2538#issuecomment-518217281?

  • User Avatar
    0
    ryancyq created
    Support Team

    @bluescopesteel you will need to login to the github account associated with your ANZ license to view the issue of ANZ github repo