Windows 7 RTM,VS2008无法加载项目-没有IIS6 [英] Windows 7 RTM, VS2008 can't load project - no IIS6

查看:74
本文介绍了Windows 7 RTM,VS2008无法加载项目-没有IIS6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了Windows 7 RTM VS 2008 SP1,然后从旧的XP Pro VS 2008 SP1计算机上复制了我的项目.在我的Web解决方案中,我有几个项目,其中三个是Web应用程序(3个网站,1个soap Web服务,2个WCF服务),并且这三个网站是通过虚拟目录(不是Cassini Web服务器)在IIS中设置的.当我尝试打开解决方案时,VS扼杀了这三个项目的* .csproj文件,抱怨它们是IIS应用程序(不是开发Web服务器-Cassini),并且它需要IIS6等(我不相信他们已经淘汰了IIS7,但不支持此功能),所以我希望有一种正确的方法可以在IIS7中重新创建这些虚拟目录,以便VS可以在移动解决方案之前将它们放在与原位置相同的位置到新机器上?
我花了几个小时的时间来寻找从以前的环境进行此翻译的正确方法.我收到的错误消息是:
需要安装IIS 6配置兼容性,ASP.NET,Windows身份验证.
我应该尝试在IIS7中重新创建虚拟目录吗?如果是这样,则绑定是完全不同的,并且似乎没有创建虚拟目录的方法..
帮助!
谢谢,
Larry

解决方案

Larry,

我认为您需要启用多个功能才能使其正常工作.这些IIS 7功能通常默认情况下是不安装的.

这是我的计算机与IIS相关的功能的快照,您需要手动启用它们:

程序->打开或关闭Windows功能.

还需要以管理员身份运行Visual Studio 2008 SP1,以获取创建新站点所需的访问权限.

/>希望这会有所帮助.

如果仍然有问题,请让我知道有关Windows 7系统上已启用的IIS相关功能的详细信息以及确切的错误消息.

,谢谢,
Jie
MSDN订阅者支持在论坛中
如果您对我们的支持有任何反馈,请联系 msdnmg@microsoft.com


I just installed Windows 7 RTM, VS 2008 SP1, and then copied over my project from my old XP Pro, VS 2008 SP1 machine.  In my web solution, I have several projects, three of which are web apps (3 web sites, 1 soap web service, 2 WCF services) and these three web sites were setup in IIS via virtual directories (not Cassini web server).  When I try to open the solution, VS chokes on the *.csproj files of these three projects, complaining that they are IIS applications (not dev web server - Cassini), and that it needs IIS6, etc. (I can't believe they'd put out IIS7 and not support this), so I'm expecting there would be a correct way to re-create those virtual directories in IIS7 so that VS would see these in the same place as they were before I moved the solution to a new machine??
I have spent a couple hours googling for the correct way to make this translation from the previous environment.  The error message I get is something like:
Need to install IIS 6 Configuration Compatibility, ASP.NET, Windows Authentication.
Should I try to recreate the virtual directories in IIS7?  If so, the bindings are quite different, and there doesn't seem to be a way to create virtual directories..
Help!
Thanks,
Larry

解决方案

Hi Larry,

I think you need to enable the several features to make it work. Those IIS 7 features are usually not installed by default.

Here is a snapshot of my machine's IIS related features, you need to manually enable them:



You can find this dialog in Control Panel -> Programs -> Turn Windows features on or off.

And you also need to run your Visual Studio 2008 SP1 as Administrator to gain access needed for creating new sites.

Hope this helps.

If you're still having issue, please let me know more details about what IIS related features you have already enabled on your Windows 7 system and the exact error messages.

Thanks,
Jie
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com


这篇关于Windows 7 RTM,VS2008无法加载项目-没有IIS6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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