How to get error details on Azure Web site

18,284

You have two options:

First, you can turn off custom errors in your web config. This is the quick-and-dirty approach but it will at least get you the information you are looking for. Just be sure to turn custom errors back on when you are done. NOTE: This method will display your stacktrace to the entire world.

<configuration>
  <system.web>
    <customErrors mode="Off" />
  </system.web>
</configuration>

Second, you can remote desktop into your deployed machine, go to IIS Manager, and Browse to your site. Once you are there, reproduce the error and you will get the yellow screen of death you are looking for. For this to work, you will have to Enable Detailed Errors

Share:
18,284
Cherven
Author by

Cherven

Updated on June 29, 2022

Comments

  • Cherven
    Cherven almost 2 years

    I'm new to Azure. Does anybody know how get detailed error message on website deployed to Azure web?

    I added SimpleMembership to website and now Registration and Login (Post) are showing

    Sorry, an error occurred while processing your request.

    I'm connecting to DB on my home computer (no problem with connection).

    LogFiles folder on azure ftp server has some files but I don't see how to use this information. I wish I can get YellowScreen on azure...