需要什么样的一个IIS站点发送错误信息到浏览器? [英] What is required for an IIS site to send error details to the browser?
本文介绍了需要什么样的一个IIS站点发送错误信息到浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对IIS 7.5上运行的ASP经典的网站接收服务器错误。
I am receiving a Server Error on an ASP Classic site running on IIS 7.5.
我有的错误发送到浏览器设置为真
,但是我仍然收到以下错误屏幕:
I have "Send Errors To Browser" set to True
, however I still receive the following error screen:
推荐答案
IIS被劫持的传统的ASP应用程序的响应。在你的的web.config
文件请确保以下配置:
IIS is hijacking your classic ASP app's response. In your web.config
file ensure that the following is configured:
<configuration>
<system.webServer>
<httpErrors existingResponse="PassThrough"/>
</system.webServer>
</configuration>
另外,还要确保您已启用将错误发送到浏览器,在ASP配置功能,在IIS管理器中您的网站:
Also make sure that you've enabled "Send Errors To Browser" in the ASP configuration feature for your site in IIS manager:
这篇关于需要什么样的一个IIS站点发送错误信息到浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文