Loading...

Knowledge Base
Categories: ,

Turn on Detailed errors for ASP Scripts

Share

All Windows servers at Arvixe run IIS 7. Therefore, when attempting to debug ASP scripts, you may receive the error -

An error occurred on the server when processing the URL. Please contact the
system administrator.

With a link that goes to http://learn.iis.net/page.aspx/559/running-classic-asp-applications-on-iis-70-and-iis-75/

To preview the actual error that the ASP code is generating, simply place the following tags within the system.webServer tags inside the web.config that exists within your wwwroot folder -

<httpErrors errorMode="Detailed" />

<asp scriptErrorSentToBrowser="true" />

If you don't see a web.config inside wwwroot, simply create one and place the following tags inside it -

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

    <system.webServer>

  <httpErrors errorMode="Detailed" />

<asp scriptErrorSentToBrowser="true" />

    </system.webServer>

</configuration>

Did you find this article helpful?

 
* Your feedback is too short

Loading...