I couldn't see any Error Message on my ASPX Page? What should I do?

This happens because of the web.config custom Error page is set to RemoteOnly or On.

If you like to see the real error message so it can help you on your development, you should turn custom Eror off on your web config

Your Web Config should be set like this during development 

<customErrors mode="Off" />

For final release or in production mode

You should turn the customs Error to be On or RemoteOnly so Users can't see the real error message. You can set the default Redirect to point to some pages and you can write nice error message on your error.html page.
Below is the customs Error tag that you should use on your

<customErrors mode="On" defaultRedirect="error.htm"/>

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I get a database timeout expired error on my ASP.NET application. What can I do?

I get the following error when my ASP.NET application connects to the MS SQL server:...

How do I get my ASP.net application to display non-English language

ASP.net allows the developer to encode the page using character sets other than unicode.  If your...

I get a configuration error when I execute my application in a subdirectory. How do I resolve this?

This error may occur if the application is being run out of a subfolder and the subfolder is not...

Why can I still access my ASP.NET pages even though I disabled anonymous access to my directory?

After disabling anonymous access in the permission manager in the control panel, ASP.net pages...

After I configure the custom error setting in the control panel, I still get the generic error page?

Custom error setting is a web server setting that sets your website Error Pages, but you can...