【发布时间】:2011-02-13 20:44:41
【问题描述】:
这是我的环境 Windows7、Visual Studio 2010、MVC2.0 和 NET4 我的默认网站配置为使用 ASP.NET v4.0 应用程序池。
这是重现我的问题的简单方法
创建一个新的 MVC2 应用程序 打开属性窗口 转到 Web 选项卡 勾选“使用 IIS 本地 Web 服务器” 点击“创建虚拟目录”按钮
我收到此错误消息
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
注意“...以下 IIS 组件:”后面的空行
我以管理员身份运行 VS2010 按 F1 没有任何帮助
【问题讨论】:
标签: visual-studio-2010 iis-7 windows-7 asp.net-mvc-2 asp.net-4.0