我该如何关闭自定义错误在IIS处理我的网站? [英] How do I turn off custom error handling in IIS for my web site?

查看:230
本文介绍了我该如何关闭自定义错误在IIS处理我的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你怎么连看的web.config文件?我不知道去哪里打开自定义错误关闭...帮助!

How do you even look at the web.config file? I don't know where to go to turn custom errors off...help!

我试着命令提示符和Java脚本....任何一个能帮助我吗?

I tried command prompt and java script....can any one help me?

推荐答案

运行从管理工具Internet信息服务(IIS)管理器工具(在开始菜单上,如果管理工具启用那里)。打开系统,然后右键点击你的网站。选择属性。选择ASP.NET标签。点击编辑配置。单击自定义错误选项卡。选择关闭自定义错误模式。

Run the Internet Information Services (IIS) Manager tool from the Administrative Tools (on the start menu if admin tools are enabled there). Open up the system, and right click on your web site. Select Properties. Choose the ASP.NET tab. Click on "Edit Configuration". Click the Custom Errors tab. Select Off for custom error mode.

或导航到该文件夹​​包含您的应用程序,并打开用手文本编辑器编辑web.config文件,并更改自定义错误标记为<的customErrors模式=关/>

Or navigate to the folder containing your application and open the web.config file in a text editor and edit by hand, and change the custom errors tag to <customErrors mode="Off" />.

这篇关于我该如何关闭自定义错误在IIS处理我的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆