如何使用作为非管理员用户运行的Visual Studio来调试本地IIS服务? [英] How can I debug a local IIS service with Visual Studio running as a non-Administrator user?

查看:842
本文介绍了如何使用作为非管理员用户运行的Visual Studio来调试本地IIS服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Visual Studio 2008,并以非管理员身份运行。



我正在开发一个Web应用程序项目,并希望对其进行调试使用Visual Studio。我可以编译和调试Visual Studio开发服务器没有问题。但是,当我在我的项目属性中选择使用本地IIS Web服务器并尝试保存项目时,Visual Studio给我错误:要访问本地IIS网站,您必须在管理员帐户的上下文中运行Visual Studio



现在,如果我采取微软的话,我必须通过实际使用一个管理帐户运行Visual Studio,但微软的最后通have并不总是被证明是绝对的。 / p>

从其他类似的问题,我已经将我的用户添加到Debugger Users组中,给予用户SeDebugPrivilege权限。但是,由于我的用户实际上不是管理员,我无法以管理员身份运行。

解决方案

答案是你不能



如果方法或解决方案出现,我将删除。


I have installed Visual Studio 2008 and am running it as a non-Administrator user.

I have a Web Application project I am developing and would like to debug it using Visual Studio. I can compile and also debug with "Visual Studio Development Server" without problems. But, when I select "Use Local IIS Web server" in my project properties and try to save the project, Visual Studio gives me the error: "To access local IIS Web sites, you must run Visual Studio in the context of an administrator account."

Now, if I take Microsoft's word, I must run Visual Studio by actually using an administrative account, but Microsoft's ultimatums haven't always proven to be absolute.

From other similar questions, I've added my user to the "Debugger Users" group and given the user the SeDebugPrivilege privilege. But, I cannot "Run as Administrator" since my user is not actually an administrator.

解决方案

It looks like that for now, the answer is you can't.

I will delete this if a method or solution comes along.

这篇关于如何使用作为非管理员用户运行的Visual Studio来调试本地IIS服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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