Category: ASP

Cannot view ASP.NET application Errors in a browser even though web.config is setup with customer errors mode set to Off

The problem is related to your web.config file. It might not be well-formed XML. I would recommend that you create a new web.config with only the following code in it:

<-- Web.Config Configuration File -->

       

When you re-run the aspx pages you will see that the error will be sent to the browser. The problem is basically because the web.config you currently have is crashing before it gets to the bit that tells is that the custom errors mode is set to off.

ASP.NET

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.