在 IIS 6 中,ASP 错误与行号和问题描述一起显示。例如,
{call dbo.spGetCommunityInfo(xx)}
Microsoft SQL Native Client error '80020005'
Invalid character value for cast specification
/communitydetail.asp, line 42
IIS 7 改变了处理 ASP 错误的方式并显示一些不太有用的东西。例如,
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request
有谁知道在 IIS 7 中获取 IIS 6 的行为需要进行哪些配置更改?