locked
Web App Publishing - An error occurred while starting the application RRS feed

  • Question

  • User-1269159535 posted

    Hi All

    I am getting the message, "An error occurred while starting the application" on app launch after successful deployment of a web app via Visual Studio on Azure cloud. The application works well in Visual Studio. It is based on .NET framework 4.6. Kindly advise.

    Regards,

    D.O.

    Wednesday, November 22, 2017 12:55 PM

All replies

  • User61956409 posted

    Hi ONYAND,

    "An error occurred while starting the application" on app launch

    The error message is too generic, it is difficult to find the issue with starting application. Azure provides built-in diagnostics to assist with debugging Azure app service web app, you can try to enable diagnostics logging and check if some useful information are written in logs.

    With Regards,

    Fei Han

    <sub></sub><sup></sup>

    Thursday, November 23, 2017 2:24 AM
  • User-1269159535 posted

    Hi Fei,

    I am new to Azure and discovered that one needs to set up application insights to derive details of the actual cause of the error (in this case 5xx). Still working on it and hoping to get the full error description just like in the development environment. Thanks for your feedback.

    Regards,

    D.O.

    Thursday, November 23, 2017 12:32 PM
  • User61956409 posted

    Hi ONYAND,

    set up application insights to derive details of the actual cause of the error

    Application insights can be used to monitor your live web application and detect & diagnose issues. You can get detailed information from this documentation.

    With Regards,

    Fei Han

    Friday, November 24, 2017 6:03 AM