How can I show detailed ASP errors?

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>

<system.web><system.webserver>

This can be helpful when debugging 500 Internal Server Errors from Windows packages.

Cette réponse était-elle pertinente?

Articles connexes

Which PHP functions are disabled on your WordPress platform?

Our WordPress platform has been specifically designed to offer the best security, performance and...

Is ionCube PHP Loader installed?

The availability of ionCube can differ between our different platforms and PHP versions. Linux:...

Can I use parent paths in Classic ASP?

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

How do I change PHP version?

As standard, we run PHP 7+. If you wish to switch version, head to stackcp Manage Hosting >...

Why is my website not able to send email?

A common reason for this relates to the address not matching your site domain. To help improve...