How to fix HTTP Error 500.30 - ASP.NET Core app failed to start

Sooraj Krishnakumar 0 Reputation points
2024-05-27T19:03:13.73+00:00

I'm new to Azure and unsure how to start troubleshooting my issue, I've found the portal support to be unhelpful. The support system asks numerous questions about the problem but ultimately provides no solutions or contact with a support representative, which is very frustrating.
My ASP.NET Core web app is failing to run on Azure, though it works fine on my PC. I downloaded a publishing profile and republished the app, but this didn't resolve the issue. I'm encountering a 500.30 error indicating the Core app failed to start.

Can anyone guide me on how to diagnose this?
Thank you!

Developer technologies ASP.NET ASP.NET Core
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
Windows for business Windows Server User experience Other
{count} votes

4 answers

Sort by: Most helpful
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2024-05-27T19:53:44.1166667+00:00

    Hi there Sooraj Krishnakumar

    Thanks for postingon QandAplatform.

    There may be a few reasons behind the error which you can only identify by debugging. You can try to debug this error using the steps below:

    1. Navigate to the root directory of the application using CMD
    2. Run the application using the command dotnet run (yourApplicationName).dll

    If there are any errors, they should appear in the output.

    Alternatively, you can check "Event Viewer" (search Event Viewer using Windows search) and navigate to

    • Windows Logs
      • ApplicationThere may be a few reasons behind the error which you can only identify by debugging. You can try to debug this error using the steps below:
        1. Navigate to the root directory of the application using CMD
        2. Run the application using the command dotnet run (yourApplicationName).dll
        If there are any errors, they should appear in the output. Alternatively, you can check "Event Viewer" (search Event Viewer using Windows search) and navigate to
        • Windows Logs
          • Application

    Have a look at the below link, a similar thread, hope it helps.

    reference - https://stackoverflow.com/questions/67211060/http-error-500-30-asp-net-core-app-failed-to-start

    If this helps kindly accept the answer thanks much.


  2. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2024-05-31T03:34:07.7533333+00:00

    @Sooraj Krishnakumar , Adding to Azar's suggestions. If you are fine, kindly share your webapp URL/ details.

    • As outlined in the troubleshooting IIS doc 500.30 is more generic error and this might be caused due to multiple reasons.

    Common failure conditions:

    • The app is misconfigured due to targeting a version of the ASP.NET Core shared framework that isn't present. Check which versions of the ASP.NET Core shared framework are installed on the target machine.
    • Using Azure Key Vault, lack of permissions to the Key Vault. Check the access policies in the targeted Key Vault to ensure that the correct permissions are granted.

    To isolate the issue:

    Note: Please do not share any PII data on the public forum.


    If the answer helped (pointed you in the right direction) > please click Accept Answer - it will benefit users in finding the right answer quickly.

    0 comments No comments

  3. Thara das K P 0 Reputation points
    2024-09-24T08:54:03.22+00:00

    Faced this issue and resolved by setting Enable 32 bit Applications property in IIS application pool to false. The deployed asp.net core application was configured to run as 64 bit.

    0 comments No comments

  4. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-09-24T16:17:22.4933333+00:00

    the 500.30 error generally means your app throw an exception during startup. this is often a configuration or permission error.

    try this doc:

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

    0 comments No comments

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.