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

如果我尝试使用本地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调试.

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...