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"/>

Was this answer helpful?

 Print this Article

Also Read

ASP.NET Validation is not working on your server.

...

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...

Disable Web Config inheritance for Virtual Application

If you have a lot of virtual applications under your webisteYou can Disable the main website's...

I am using ASP.NET and Internet Explorer Web Controls and it does not work when I open the page. What is wrong?

For Internet Explorer Web Controls to work properly you need to have the required HTML...

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...