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>

  • 50 Utilisateurs l'ont trouvée utile
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...

Can I use parent paths in Classic ASP?

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

Is ionCube PHP Loader installed?

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

How do I change PHP version?

As standard, we run PHP 7+. If you wish to switch version, head to www.startcp.com > Manage...

Why is MySQL support missing from the PHP installation?

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