Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (4k points)
I am getting this message after posting a web application. Is there any solution available?

1 Answer

0 votes
by (9.6k points)

Since your development is in production, it does not show detailed error messages. For testing/debugging purposes you can turn on the Azure detailed messaging, and turn back off when it's ready for production. Following steps can be implemented to do so -

  1. Login to your azure portal -> Go to App services in the left side menu -> Your Web App -> App services log ->Turn on detailed messages along with other options as needed 
  2. Add the following script in your web config file - <customErrors mode="off" /> before system.web closing tag and add <httpErrors errorMode-"Detailed"><httpErrors> before the system.webservers closing tag. 
  3. Upload your web config file to Azure

This is will turn on the detailed messages option that will show you more elaborated explanations of the error. This can potentially help you deal with these errors better. 

Browse Categories

...