Coupon code copied
Server Intellect
(855) 850-HOST

Toll Free 24/7/365        (4678)

Get help from a Microsoft Certified Engineer.

Intellect Connect

Technical problem with your Windows Hosting?

Let our Microsoft Certified experts handle the problem for you.
Chat Now

Disable ASP.NET Custom Errors in Web.Config

Many times during the processing of an ASP.NET application, you will get the following runtime error.

kb-custom-error-webconfig-01

This is a generic error generated by ASP.NET When customErrors are set to ON. To resolve this issue, create a web.config file if one is not already present in your C:/Inetpub/wwwroot/yourdomain directory.

kb-custom-error-webconfig-02

Once you’ve located/created web.config edit the lines containing the <customErrors> configuration element. If the <customErrors> element does not exist, add the <customErrors> element under the <system.web> element.

You can locate the <customErrors> element by CTRL +F

Change the <customErrors mode =”on”/> to <customErrors mode =”off”/>

Your end result should look similar to the following:

kb-custom-error-webconfig-03

Having Problems with Windows Server?

Try our troubleshooting service

  • Microsoft Certified Engineers
  • Remote Log-in to Your Servers
  • End-to-End Troubleshooting

Our Certified Technicians have been supporting Microsoft® products for well over a decade.

Tell us where you are getting stuck

Get Help Now!

Having Trouble Solving This Problem?

Let our Microsoft® Certified Engineers fix it for you.
Just $50.00 one time fee.

Having Trouble Implementing This Solution?

Why not let our Microsoft® Certified Engineers do it for you.
Just $50.00 one time fee.

Request Immediate Expert Help

When saved, ASP.NET should restart itself. To test your application, enter the URL in the browser.

Your final result should be a completely different (and detailed) ASP.NET error page, similar to the following

kb-custom-error-webconfig-04

Congratulations, now you have detailed errors of your pages!

Interested in letting our experts solve your IT problems for you?
Get a free, no-obligations consultation with one of our experts today!

Call us at (855) 850-HOST

Chat Now

Start Your Order

X

This form does not accept free e-mail accounts. Please enter a business e-mail to submit it.

Submit Form Cancel

Please wait...

Submitting your info. This may take less than a minute.