Article ID 2445
Article Title HOWTO: Enable ASP Script Error Messages
Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2445
KBase Category Web Apps
Date Created 02/01/2010
Last Edit Date 09/08/2011


Article Text
When IIS has been installed properly, there is one other configuration that we recommend enabling for development purposes. In order for IIS to send back ASP script error messages to your browser, so that you can diagnose ASP script errors in your Web Application, you must specifically enable this option. Without this option selected, you will not see ASP script errors in your browser, instead you'll see a generic error message such as "An error occurred on the server when processing the URL. Please contact the system administrator."

1) Right-click the Computer icon on your desktop (or in the Start menu), and select Manage. This will bring up the Computer Management Console.

2) In Computer Management Console, open up the branch Services and Applications and select Internet Information Services (IIS) Manager. Then scroll down until you see the IIS group, and double-click the ASP icon (or right-click and select Open Feature).

3) In the configuration page for ASP, open up the branch Debugging Properties, and change Send Errors To Browser to the value True.

4) Select Apply Changes to save the changes.

Tip: If you're using Internet Explorer and you still do not see ASP Script errors in your browser. In Internet Explorer, select Tools -> Internet Options -> Advanced, and then uncheck Show friendly HTTP error messages, and click OK. You then need to restart your browser and you should be able to see ASP script errors.

Note: You may need to reboot before trying to install Visual DataFlex after making any of the changes listed.



Links Related to this Article
Classic ASP Script Error Messages No Longer Shown in Web Browser by Default

Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2024 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.