If you are encountering errors with your Public Cloud Hosted Website, you are likely to encounter the default error page that does not display the specific information for the error your website is encountering.
This is a security feature, to avoid too much information being publicly displayed.
Luckily, you can easily alter this setting so that you can remotely view your errors.
To do so, merely edit your web.config file, generally located in your site’s root folder. This is also available for download via FTP if your originally uploaded contents did not include a web.config file.
Within the web.config file, you will want to find the following line:
Please note that the portion in quotes may not always display ‘On’.
There are three variables that you can use in the ‘mode’ setting, which are:
“On” – This will display the ‘friendly’ custom error page, which generally hides all information related to the error.
“Off” – This will display the full error page, with all relevant information, stack traces, etc. This is the one you would want to use while troubleshooting a possible error.
“RemoteOnly” – This will display the full error page only when you have local access to the server. This is recommended for security purposes on Private and Dedicated Server environments, however on the Public Cloud this will not allow you to see your errors.
Please note that these variables are case sensitive.
Once you’ve made the change you wish, you can always alter this setting back to once again display only custom errors, etc.