加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-8 – 使用Visual Studio 2012调试IIS 8.权限不足

发布时间:2020-12-14 03:58:36 所属栏目:Windows 来源:网络整理
导读:如果我尝试使用本地IIS 8开始调试ASP.Net MVC(3或4,无关紧要),它说(只需单击播放按钮): Unable to start debugging on the web server. Visual Studio has insufficient privileges to debug this process. To debug this process,Visual Studio must be ru
如果我尝试使用本地IIS 8开始调试ASP.Net MVC(3或4,无关紧要),它说(只需单击播放按钮):

Unable to start debugging on the web server. Visual Studio has
insufficient privileges to debug this process. To debug this
process,Visual Studio must be run as an administrator.

如果我尝试手动附加DEBUG – >附加到流程 – >显示所有用户的流程 – > w3wp.exe我收到了一条simmilar消息.

Unable to attach to the process. Visual Studio has insufficient
privileges to debug this process. To debug this process,Visual
Studio must be run as an administrator.

使用IIS Express它可以工作,只有完整的IIS 8阻止我调试.

我在IIS上启用了调试 – >默认网站 – > .Net编译 – > Debug = True

我也尝试更改DefaultAppPool以使用ApplicationPoolIdentity / Network Service /我自己的帐户.

而且,我曾尝试以管理员身份运行VS2012.

解决方法

VinnyG是对的.是一个VSCommands问题.在VSCommands上检查中等信任会禁用IIS调试.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读