Aspnetcore: HTTP Error 500.30 - ANCM In-Process Start Failure

Created on 24 Apr 2019  路  5Comments  路  Source: dotnet/aspnetcore

If you believe you have an issue that affects the security of the platform please do NOT create an issue and instead email your issue details to [email protected]. Your report may be eligible for our bug bounty but ONLY if it is reported through email.

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of ASP.NET Core '...'
  2. Run this code '....'
  3. With these arguments '....'
  4. See error

Expected behavior

to launch application

Screenshots

500 30

Additional context

Add any other context about the problem here.
Include the output of dotnet --info
Host (useful for support):
Version: 2.2.4
Commit: f95848e524
.NET Core SDKs installed:
No SDKs were found.
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Also ran through the troubleshooting steps at
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/troubleshoot?view=aspnetcore-2.2#50030-in-process-startup-failure

Attaching the acm
ancm.log

stdout is blank

area-servers

Most helpful comment

ASP.NET Core 2.2 or later: For a 64-bit (x64) self-contained deployment that uses the in-process hosting model, disable the app pool for 32-bit (x86) processes.

In the Actions sidebar of IIS Manager > Application Pools, select Set Application Pool Defaults or Advanced Settings. Locate Enable 32-Bit Applications and set the value to False.

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.0#create-the-iis-site

All 5 comments

Tried installing the SDK so the dotnet info now looks like this:
.NET Core SDK (reflecting any global.json):
Version: 2.2.203
Commit: e5bab63eca

Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.2.203\

Host (useful for support):
Version: 2.2.4
Commit: f95848e524

.NET Core SDKs installed:
2.2.203 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

@zanate4019 did you look in the event log?

Yes, nothing really useful

Application '/LM/W3SVC/2/ROOT' with physical root 'D:\Program Files\ARA Development\Box Workflow G3\' failed to load clr and managed application. CLR worker thread exited prematurely

Since it was also mentioned in the ancm log, I didnt mention it.

Side note: The same application has been deployed on a WIndows 2008 R2 server and is working fine.

Tried to moving it to Out of Process and saw a SQL access error in the event log. Moved it back to In-Proc and changed the account on the AppPool and now its running. I think our custom logging engine (ported from PODF - "plain old dotnet framework"), must not be using the correct creds. Thanks for your help

ASP.NET Core 2.2 or later: For a 64-bit (x64) self-contained deployment that uses the in-process hosting model, disable the app pool for 32-bit (x86) processes.

In the Actions sidebar of IIS Manager > Application Pools, select Set Application Pool Defaults or Advanced Settings. Locate Enable 32-Bit Applications and set the value to False.

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.0#create-the-iis-site

Was this page helpful?
0 / 5 - 0 ratings