HostOnNet Blog

ASP.NET script showing error message

Looking for Linux Server Admin or WordPress Expert? We can help.

By Default ASP.NET scripts do not show actual error message in browser for security reason.

It will be helpfull to show the error message to browser when installing or developing a script.

To enable this, create a file “web.config” with following content and upload it to your web sites web root (the folder in which you upload index file.)

<customErrors mode=”Off”/>

Posted in Programming. Bookmark the permalink.

One Response to ASP.NET script showing error message

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.