How to make IIS 5.0 error messages more detailed

Source: Internet
Author: User
Tags ole
If you use iis 5.0, you will find that the iis 5.0 error message is more vague than iis 4.0, because iis 5.0 began to use asperror to handle the error. Let's talk about database logon failure.
Iis 4.0 displays
Microsoft ole db Provider for SQL Server error '80040e4d'
Login failed for user 'XXX '.
Xxxxx. asp, line xx
In iis 5.0
HTTP 500.100-Internal Server Error-ASP error
Internet information service
--------------------------------------------------------------------------------
Technical Information (applicable to support personnel)
Error Type:
Microsoft ole db Provider for SQL Server (0x80040E4D)
/Jjx/ActiveUBB/default. asp, row 3
Browser type:
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Page:
GET/jjx/ActiveUBB/default. asp
Time:
April 23, 2000 12:05:57
Details:
Microsoft Support
This is a good thing for asp security, but it is not so convenient for us to debug the program. The following describes how to return to iis 4.0.
1. Select your site, attributes, and custom error information
2. Select Error 500: 100 and edit attributes.
3, usually the original value of the url, iishelpcommon500-100.asp
4. Change to "default value", OK, and OK.
4. Now the error is handled as "internal server error-asp error"
Note:
The above modifications are only for the convenience of debugging asp Programs. After debugging, you should reset the original

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.