Enable error message for Web.config

To enable the details of this specific error message to be viewable on remote machines, 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 "Off".

Web.Config Configuration File

<configuration>
  <system.web>
    <customErrors mode="Off" />
  </system.web>
</configuration>
  • programming, web.config, website, error pages
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

A Web Service example

In the following example we will use ASP.NET to create a simple Web Service that converts the...

Connection string for Web.config

connectionString="Data Source=IP-ADDRESS;Initial Catalog=YOUR-DATABASE;User...

Crystal Reports version

We have upgraded SAP Crystal Reports 2013 SP25 (Runtime Engine for .NET Framework 4) to SP26 for...

Redirect to HTTPS using Web.config

Add the source code following in system.webServer section (web.config): <rewrite>...

Redirect to WWW using Web.config

Add the source code following in system.webServer section (web.config): <rewrite>...