In IIS 7, when running an ASP script, the following error may be returned:
An error occurred on the server when processing the URL. Please contact the system administrator.
To troubleshoot the problem you can enable the display of errors in the browser. To do this add in the web.config file from wwwroot:
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true" />
