开发者

IIS issue with Visual Studio

开发者 https://www.devze.com 2023-02-19 13:21 出处:网络
I am trying to get my project to use my IIS virtual directory, here is how I have it setup.. In Windows 7..

I am trying to get my project to use my IIS virtual directory, here is how I have it setup..

In Windows 7..

My project has a Web Application, which is located in my Projects folder.. In IIS, I created a new Virtual Directory pointing to my Web Application, gave IIS permissions..

can access it fine using http://localhost/WebApplication

Now in Visual Studio 2010, I goto properties of the WebApplication, select "Use Local IIS Web server", type in "http://localhost/WebApplication", sits there for a few mins then a popup error..

---------------------------

Microsoft Visual Studio

---------------------------

To access local IIS Web sites, you must install the following IIS components:

In addition, you must run Visual Studio in the context of an administrator account.

For more information, press F1.

---------------------------

OK

---------------------------

Does not list any components missing..

Any ideas? Rather not have my project in inetp开发者_运维问答ub/wwwroot


Try running Visual Studio as administrator.

Right click your Visual Studio shortcut and click "Run as Administrator".

0

精彩评论

暂无评论...
验证码 换一张
取 消