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

标签 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 -> Attach To Process -> Show Process From all Users -> w3wp.exe 手动附加,我会收到一条类似的消息。

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/网络服务/我自己的帐户。

而且,当然,我尝试以管理员身份运行 VS2012。

最佳答案

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

关于windows-8 - 使用 Visual Studio 2012 调试 IIS 8。权限不足,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13124506/

相关文章:

vb.net - 戴帽子的名字 suffle vb.net

visual-studio-2012 - Visual Studio 2012 无法识别所有挂起的更改?

visual-studio - MSBuild 解决方案命令行输出到单个文件夹

c# - 在 Response.Flush() 下载大文件时出现 ASP.NET MVC 错误

windows - 在 powershell 中聚焦 IE 窗口

c# - 使用C#管理Windows Store应用程序的SQLite数据库

c++ - 以普通用户身份执行命令

asp.net - IIS8 上的 WCF; *.svc 处理程序映射不起作用

c# - Windows 8 XAML : Displaying a list of images in a GridView through data binding

windows-8 - 限制 Windows 8 应用程序以纵向模式查看(WinRT)