Turn on Detailed errors for ASP Scripts
Posted by on 13 February 2011 07:36 PM
|
|
All Windows servers at Arvixe run IIS 7. Therefore, when attempting to debug ASP scripts, you may receive the error -
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>
If you run ASP .NET applicaitons in conjunction with ASP, this article may provide some more information on how to turn on detailed errors when you receive a 500 error for your .NET apps: http://blog.arvixe.com/how-to-get-more-detailed-errors-from-iis/ | |
|
Thanks