在try 重新连接和重新配置新计算机上的现有项目时,根据打开项目时收到的错误消息,我在这里(The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found. )发现需要转到IIS管理器(在Russ C的回答"安装IIS 7.5Express并重新启动"之前,我执行了这些任务).然而,拉斯继续写道,"Next, go to your IIS Manager...",这是我一直没能做/找到的.
所以我找到了这个:http://technet.microsoft.com/en-us/library/cc770472(v=WS.10).aspx,这里给出了以下说明:
To open IIS Manager from the Start menu Click Start, and then click Control Panel. Do one of the following: If you are using Windows Vista® or Windows Server® 2008, click System and Maintenance, and then click Administrative Tools. If you are using Windows® 7 or Windows Server® 2008 R2, click System and Security, and then click Administrative Tools. In the Administrative Tools window, double-click Internet Information Services (IIS) Manager. To open IIS Manager from the Search box Click Start. In the Start Search box, type inetmgr and press ENTER.个
由于这是Windows 7,我try 了系统和安全|管理工具,但列表中没有IIS管理器.于是,我try 了"inetmgr"路由,但同样失败了(它会打开一个"搜索结果"对话框,上面显示"没有匹配您的搜索结果"或类似的措辞).
那么,如何定位IIS管理器,以便重新创建或重新连接asp.net是不是找不到?
更新
我不得不在IIS管理器中手动添加对ASP.NET4的支持,才能让我的项目不再抱怨.为什么在安装ASP.NET 4时不自动配置此功能?!?任何人,为了将来的在线读者的利益,这里是我不得不在它的全彩荣耀中添加的内容:
所以这就是它在结尾的样子:
我不知道为什么需要v2,如果需要,为什么不需要版本3,但重要的是(现在对我来说)有v4支持.
更新 2
右键单击解决方案,出现"使用IIS Express."菜单项.如果 Select 该选项,您将看到:
那么,也许所有这些仰面躺着,把油洒在头发上都是不必要的-只需 Select 这个,所有幕后的东西就会自动得到处理?