HostOnNet Blog

ASP.NET script showing error message

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.