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.

...

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 an email.But If your ASP or ASP.Net...

How did I send email from ASP.net ?

You have to use System.Web.Mail namespace Below is the code snippets : using System.Web.Mail;...

How do I setup custom error for my ASP.net application?

ASP.net has its own built-in error handling. To set up custom error handling for your 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....