Skip to content

Commit fbaa761

Browse files
authored
Add note about ANCM 500.38 error (#17930)
1 parent db87c2b commit fbaa761

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

aspnetcore/test/troubleshoot-azure-iis.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,15 @@ ANCM failed to start within the provied startup time limit. By default, the time
154154

155155
This error can occur when starting a large number of apps on the same machine. Check for CPU/Memory usage spikes on the server during startup. You may need to stagger the startup process of multiple apps.
156156

157+
### 500.38 ANCM Application DLL Not Found
158+
159+
ANCM failed to locate the application DLL, which should be next to the executable.
160+
161+
This error occurs when hosting an app packaged as a [single-file executable](/dotnet/core/whats-new/dotnet-core-3-0#single-file-executables) using the in-process hosting model. The in-process model requires that the ANCM load the .NET Core app into the existing IIS process. This scenario isn't supported by the single-file deployment model. Use **one** of the following approaches in the app's project file to fix this error:
162+
163+
1. Disable single-file publishing by setting the `PublishSingleFile` MSBuild property to `false`.
164+
1. Switch to the out-of-process hosting model by setting the `AspNetCoreHostingModel` MSBuild property to `OutOfProcess`.
165+
157166
### 502.5 Process Failure
158167

159168
The worker process fails. The app doesn't start.

0 commit comments

Comments
 (0)