Hello. Thanks for visiting.

Have questions about Server Intellect?

I'm here to help.

Call us toll free at 1-855-850-HOST(4678)

Server Intellect
(855) 850-HOST

Toll Free 24/7/365        (4678)

Everything is going to be okay. We can solve your issues.

Intellect Connect

Technical problem with your Windows Hosting?

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

How to Disable ASP.NET Custom Errors in Web.config

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

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.
Details: To enable the details of this specific error message to be viewable on the local server machine, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “RemoteOnly”. To enable the details to be viewable on remote machines, please set “mode” to “Off”.

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.

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

You can locate the element by hitting CTRL+F and searching for it.

Change the to

<customErrors mode="On"/> to <customErrors mode="Off"/>

Note: It is case sensitive – it must be “Off” and not “off”.

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.

If you need any assistance with this process, or encounter any issues, please don’t hesitate to contact our Technical Support Department.

Let Us Fix it For You

Solution Includes

  • Painless Support App
  • Remote Server Management
  • Fast Issue Resolution

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

Fill out the form below to get started

Get Started

Tired of Googling for Answers?

Our Microsoft® Certified Technicians can fix your problem for you.
Give us a try.

Learn More

Can't Find Your Solution?

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

Get Started

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.