iis| Error if you use IIS 5.0, you will find that IIS 5.0 error messages are much more ambiguous than IIS 4.0来, because IIS 5.0 starts using ASPError to handle errors. Just take a database login failure.
IIS 4.0 Displays the
Microsoft OLE DB Provider for SQL Server error ' 80040e4d '
Login failed for user ' xxx '.
Xxxxx.asp, line xx
Displayed in IIS 5.0
HTTP 500.100-Internal Server error-ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical information (applicable to support staff)
Error type:
Microsoft OLE DB Provider for SQL Server (0x80040e4d)
/jjx/activeubb/default.asp, line 95th.
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
Detailed information:
Microsoft Support
This is a good thing for the security of the ASP, but it is not so convenient for us to debug the program. Here's a quick introduction, if you go back to the method of IIS 4.0
1, select your site, attributes, custom error messages
2, select 500:100 Error, Edit properties
3, usually the original set value of url,\iishelp\common\500-100.asp
4, change to "default value", OK, OK
4, now error processing into "Internal server error-asp Error"
Attention
The above modification is only to debug ASP program convenience, after debugging should reset back to the original