Vista IIS7 的 IIS6 元数据库兼容性未正确安装

发布于 2024-09-03 20:08:03 字数 306 浏览 5 评论 0原文

这几天我一直在努力解决这个问题,但没有任何运气。我无法将 VS2010 ASP.NET 项目部署到 IIS。我收到错误

“无法创建虚拟目录。要访问本地 IIS 网站,必须安装以下 IIS 组件

IIS 6 元数据库和 IIS 6 配置兼容性 ASP.NET

此外,您必须在管理员帐户的上下文中运行 Visual Studio”

我肯定已经安装了元数据库选项,但它仍然显示。我也不确定为什么它告诉我安装 ASP.NET谷

歌完全没有帮助,我想知道这里是否有人对我运行的 Vista Ultimate 64 位有任何建议。

I've been bashing my head against this one for a few days, and haven't had any luck with it. I'm unable to get my VS2010 ASP.NET project to deploy to IIS. I receive the error

"Unable to create the virtual directory. To access local IIS Web sites, you must install the following IIS Components

IIS 6 Metabase and IIS 6 Configuration Compatibility
ASP.NET

In addition, you must run Visual Studio in the context of an Administrator Account"

I've most certainly installed the metabase option, but it still shows up. I'm also not sure why it's telling me to install ASP.NET.

Google is being entirely unhelpful, I was wondering if anyone here has any suggestions. I'm running Vista Ultimate 64Bit

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冷情 2024-09-10 20:08:03

您已经以“以管理员身份运行”启动了 VS2010,否则您可能没有足够的权限来执行此类操作。
另外,默认 IIS 网站中尚不存在虚拟目录?

You've started VS2010 with 'run as Administrator', otherwise you might not have enough rights to do such a thing.
Also, the virtual dir doesn't already exist within the default IIS website?

橘味果▽酱 2024-09-10 20:08:03

本文介绍“将 Visual Studio 2008 与 IIS 7 结合使用”,但其中的原则可能也适用于 VS2010 和 Vista。 [http://www.iis.net/learn/develop/using-visual-studio-with-iis/using-visual-studio-2008-with-iis][1]
我同时使用 VS2005 和 VS2005 VS2010 开发使用部署项目的网站,该项目创建 setup.exe 和 project.msi 文件。我想知道为什么需要 IIS 6 Metabase 兼容性,但仍然不太明白。如果不存在,安装程序会很早就退出,并显示一条消息,表明安装“未正确安装”,仅此而已。这看起来像是现有的 MS 开发工具和 IIS 7 之间的拼凑。

This article describes "Using Visual Studio 2008 with IIS 7" but the principles likely apply to VS2010 and Vista also. [http://www.iis.net/learn/develop/using-visual-studio-with-iis/using-visual-studio-2008-with-iis][1]
I am using both VS2005 & VS2010 to develop websites that use a deployment project, which creates a setup.exe and project.msi files. I wanted to know why IIS 6 Metabase compatibility is required, but still do not really understand it. If absent, the installer quits very early with a message that the installation was 'not installed correctly', nothing more. It seems like a kludge between existing MS development tools and IIS 7.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文