Last post Nov 24, 2017 06:03 AM by Fei Han - MSFT
Nov 22, 2017 12:55 PM|ONYAND|LINK
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.
Nov 23, 2017 02:24 AM|Fei Han - MSFT|LINK
"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.
Nov 23, 2017 12:32 PM|ONYAND|LINK
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.
Nov 24, 2017 06:03 AM|Fei Han - MSFT|LINK
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.