This article shows you how to enable detailed error message in your Windows hosting account and apply to any Microsoft Windows Server running IIS7.5.
When you view an Active Server Pages (ASP) page in a browser, the following error occurs:
An error in your ASP page is preventing your page from loading. The full error message is not shown because detailed error messages are disabled on your domain.
To protect your site from hackers, Ecenica Windows shared-hosting servers come with detailed ASP errors disabled.
Enabling ASP errors is considered a high security risk and if enabled, should only be done temporarily during development.
Enable detailed error messages by modifying your site’s web.config file.
How to enable detailed ASP errors
- FTP into your website space.
- Goto the wwwroot folder.
- Create a backup copy of web.config.xml
- Open web.config.xml
- Copy and Paste this line before </system.webServer>
<httpErrors errorMode="Detailed" /> <asp scriptErrorSentToBrowser="true" />
- Save web.config.xml
ASP errors will now show.