0

I have deployed a number of .NET Core console applications to an Azure App Service, each one is configured as a separate virtual application. If I try and access any of them I receive the error:

HTTP Error 500.35 - ANCM Multiple In-Process Applications in same Process

My Azure App Service is configured as below

enter image description here

I have read that this problem can be caused by an app targeting a version of of .NET core that isn't present, but the projects all target .NET 5.0. I have also followed the steps laid out here HTTP Error 500.35 - ANCM Multiple In-Process Applications in same Process - Azure App Service dotnet 5 but am still experiencing he same problem.

Stewart Alan
  • 1,444
  • 5
  • 21
  • 41

1 Answers1

0

HTTP Error 500.35 – ANCM Multiple In-Process Applications in same Process

Only one in-process application is allowed per IIS application pool. Please assign the application ‘/LM/W3SVC/2/ROOT’ to a different IIS application pool,

  • Try deleting V2 in web.config file generated after publishing the solution.
<handlers>
    <add name="aspNetCore" path="*" verb="*" 
        modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>

instead of

<handlers>
    <add name="aspNetCore" path="*" verb="*"
        modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>

Please refer Configuration with web.config