I am facing issue with Azure Virtual Machine while hosting my website through IIS Manager

Syed (MS Admin) 0 Reputation points
2023-04-04T20:41:40.5733333+00:00

Untitled

Hi, I am using Azure Virtual Server for hosting website through IIS Manager. But I am getting attached error every week and I have to restart the website from IIS Manager to work again. Thanks in advance for your response!!!

Internet Information Services
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,586 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 19,032 Reputation points Microsoft Employee
    2023-04-04T21:26:57.56+00:00

    @Syed (MS Admin) Thanks for posting your query on Microsoft Q&A.

    You are seeing this error : 500.30 In-Process Startup Failure while hosting your website through IIS Manager on Azure Virtual Server - The worker process fails. The app doesn't start. This error occurs when 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.

    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.

    If you are using Azure App service, please refer to the suggestions provided here:

    Other potential causes and solutions:

    Please try the suggestions provided above and let me know in the "comments" if you have any updates/questions/further details to share. Comment is the quickest way of notifying the experts.

    If this helps, please 'Accept Answer' so that it can help others in the community facing the same issue.