Runtime error on Azure Web App

Mark Pearson 40 Reputation points
2025-06-09T08:30:58.86+00:00

Hi,

We have a web that that is throwing a runtime error when trying to visit the page. The Azure ran troubleshooter is showing the following:

HTTP Server Errors Detected

HTTP Servers errors indicate something wrong either with Application code or by the platform serving the requests. The below table shows you the count of all HTTP Servers errors that happened on the instance serving your app.

|HttpStatus|HttpSubStatus|Errors|Description| |500|0|2386|HTTP 500.0 error typically indicates an application code issue. An un-handled exception in the application code or an error in application is what typically causes this error.|

The below table shows you the count of HTTP Errors by the module setting the error code.

|FailingModule|HttpStatus|FailedRequestCount|Description| |ManagedPipelineHandler|500.0|2182|| |__DynamicModule_System.Web.WebPages.WebPageHttpModule|500.0|196|| |Session|500.0|22||

Handler descriptions:

  • ManagedPipelineHandler - ManagedPipelineHandler is the handler used by ASP.NET to serve managed requests. Errors set by this handler would typically mean application code encountering an un-handled exception.

The below table shows failed requests grouped by their request execution time.

|HttpStatus|HttpSubStatus|FailedRequests|50thPercentile|90thPercentile|95thPercentile|99thPercentile| |500|0|1329|0 sec|2 sec|18 sec|18 sec| |503|0|7|0 sec|0 sec|0 sec|0 sec|We have attempted to restart the web app, but continue to see this error. Any and all help appreciated on this matter.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,933 questions
{count} votes

Accepted answer
  1. Prabhavathi Manchala 2,315 Reputation points Microsoft External Staff Moderator
    2025-06-09T10:37:33.7966667+00:00

    Hi Mark Pearson,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    Runtime error on Azure Web App

    Solution:

    This issue was caused by an Azure VM running as a domain controller. The Azure host the VM was running on had a disk error that triggered a live migration of the VM that had eventually cause the VM to be stuk in the above hung state.

    An additional restart triggered another migration that fixed the issue. The Vm started as exoected and then the website became available again shortly afterwards.

    Please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.