ANCM Out-Of-Process Startup Failure

We are in the process of migrating our servers. We have setup the database and the app separately. However, wen we try to connect the app to the database we are getting the error below.

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

Common solutions to this issue:

  • The application process failed to start

  • The application process started but then stopped

  • The application process started but failed to listen on the configured port

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 guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.

This sounds like a reasonable starting point.