HTTP Error 500.30 - ANCM In-Process Start Failure

Polachan Paily 91 Reputation points
2020-06-23T10:17:06.773+00:00

I am using .NetCore 3.1
I have a free account in Azure. I created a simple project without database and published in Azure and it is working fine after publishing it is running the server

But after that I created another project with database and I published the following way

select project->publish->appservice->create new.
select create profile. Then I give Appservice name
create sqldatabase - I given the database server name , Administrator user name and admin password , - click ok
finally I clicked create button to create Azure sqlDatabase, SQL server, App Service, then it has created Appservice successfully
after creating the Appservice,I given the database defaultconnection ticked to use this connection string at run time, then i clicked save button.
After that I clicked Publish button and then when it try run the published file the following error message is being showed.

HTTP Error 500.30 - ANCM In-Process Start Failure Common solutions to this issue: The application failed to start The application started but then stopped The application started but threw an exception during startup 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

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,894 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,691 Reputation points
    2020-06-25T11:50:50.53+00:00

    Thanks for asking question! HTTP Error 500.30 – ANCM In-Process Start Failure” is moreover a generic error. To know more information about the error Go to Azure Portal > your App Service > under development tools open console. We can run the application through this console and thus visualize the real error that is causing our application not to load. For that put, the name of our project followed by “.exe” and press the enter key.

    10692-troubleshoot.jpg

    To add to this the error "500.30 In-Process Startup Failure", you may occur The worker process fails. The app doesn't start. The ASP.NET Core Module attempts to start the .NET Core CLR in-process, but it fails to start. The cause of a process startup failure can usually be determined from entries in the Application Event Log and the ASP.NET Core Module stdout log.

    For more information on this you may refer to this link might be helpful:

    https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-3.1

    5 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.