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

In one of the applications I want to host, there must be a write privilage to ASPNET account so that it will be able to create folders, so is that possible ?

Yes, that is possible. In fact you can set the read and write permission yourself. Our control...

I get an error 'A potentially dangerous Request.Form value was detected from the client ' when I hit submit on my ASP.NET Webform. What can I do?

This error is caused by a newly introduced feature of .NET Framework 1.1, called "Request...

How can I send email from ASP.net if SMTP Authentication is required for your mail Server?

Our SMTP Server requires authentication before you can send email, But If your ASP or ASP.net...

How do I connect my ASP.net application to MySQL database?

In general, 2 different methods can be used to connect an ASP.net application to MySQL database....

ASP.NET Validation is not working on your server.