Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

How can I show detailed ASP errors? - SIRSTEVEHQ CP

By default, Windows Server hides application errors from your website. You can override this by adding the following inside a 'web.config' file that will cause IIS to output any errors to your browser:

<configuration>
  <system.webServer>
      <httpErrors errorMode="Detailed" />
  </system.webServer>
  <system.web>
      <customErrors mode="Off" />
      <compilation debug="true" />
  </system.web>
</configuration>

Please be aware it's possible the <configuration> Element might already exist, therefore if this is the case just paste the rest of the code in between the start and the end of the element. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I change PHP maximum upload file size? - SIRSTEVEHQ CP

On SIRSTEVEHQ CP Web hosting, PHP max upload file size is set to 128M by default. This can be...

What is the PHP memory_limit? - SIRSTEVEHQ CP

The PHP memory_limit is the maximum amount of server memory that each PHP script can use.  The...

Why is my website's PHP code displaying directly on the page? - SIRSTEVEHQ CP

PHP code loading directly onto your site page rather than executing usually indicates an issue...

Why is MySQL support missing from PHP installation? - SIRSTEVEHQ CP

Our web servers run PHP 7+ as standard. In this version of PHP the MySQL module has been replaced...

Can I use parent paths in Classic ASP? - SIRSTEVEHQ CP

ASP Parent Paths are disabled on our platform. As a result, Classic ASP scripts using "../"...