在VS.NET 2003中按F5运行ASP.NET项目,弹出错误提示的对话框,内容如下:
Error while trying to run project: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone.
是什么地方设置的不对吗?紧急求助!
Error while trying to run project: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone.
是什么地方设置的不对吗?紧急求助!
2. 如果你已经使用了集成windows身份验证,请确保你的用户帐户有操作IIS的权限
3. 请检查你的机器名是否为 机器名.域名.XXX ,这样这个站点会被认为为Internet站点,最好更改你的机器名,否则就要更改你IE的默认安全设置
在web.config裏面的參考文章如下:
http://www.dezai.cn/blog/blogview.asp?logID=77&cateID=8
Asp.net无法正常调试的问题
该问题不能所作一个异常情况,这个问题的产生原因很可能是权限的问题,当遇到无法调试的情况后,你可尝试做以下两步操作
1、IE浏览器 -> Internet选项 -> 安全 -> Internet自定义级别 -> 用户验证 --> 登陆 : 自动使用当前用户名和密码
2、在解决方案资源管理器中的项目上右击,选"属性",在打开的窗口里选"配置属性"/"调试",将"启用ASP.NET调试"改为"Ture"