在 64 位 IIS 服务器上配置 32 位 ASP.NET 应用程序

发布于 2024-09-02 03:19:58 字数 562 浏览 1 评论 0原文

我正在尝试将 32 位 ASP.NET 应用程序安装到在 Windows Server 2008 上运行的 64 位 IIS 服务器上。这是操作系统的全新安装,未安装其他应用程序。

作为安装的先决条件,我们运行 32 位版本的 aspnet_regiis –i

它失败并显示以下消息:

该错误表明计算机上未安装 IIS。使用此工具前请先安装IIS。

另外:

  • IIS 肯定已安装。
  • 64 位版本的 aspnet_regiis 运行干净,没有警告。
  • 在 DefaultAppPool 的高级设置中,“启用 32 位应用程序”被设置为 True。
  • 已安装“IIS 元数据库和 IIS 6 配置兼容性”组件。
  • 我们有一个发生此错误的测试虚拟机,以及 32 位和 64 位版本的 aspnet_regiis 运行没有错误的测试虚拟机。我们没能区分两个测试虚拟机之间的差异。

我们为这个问题苦苦挣扎了好几天,却毫无结果。任何建议将不胜感激!

I’m trying to install a 32-bit ASP.NET application onto a 64-bit IIS server running on Windows Server 2008. This is a clean installation of the operating system with no other applications installed.

As a prerequisite for our installation, we run the 32-bit version of aspnet_regiis –i

It fails with the following message:

The error indicates that IIS is not installed on the machine. Please install IIS before using this tool.

Additionally:

  • IIS is definitely installed.
  • The 64 bit version of aspnet_regiis runs cleanly without warnings.
  • “Enable 32 bit applications” is set to True in the DefaultAppPool’s Advanced Settings.
  • The IIS Metabase and IIS 6 configuration compatibility” component is installed.
  • We have a test VM where this error occurs as well as test VM where both the 32 bit and 64 bit versions of aspnet_regiis run without errors. We've had no luck distinguishing the differences between the two test VMs.

We have struggled with this issue for several days to no avail. Any suggestions would be greatly appreciated!

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

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

发布评论

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

评论(2

东京女 2024-09-09 03:19:58

是否需要运行aspnet_regiis? 32 位 asp.net 应该已经安装并在 iis7 上运行,您所需要做的就是将应用程序池设置为“启用 32 位应用程序”,并将您的 Web 应用程序设置为使用该应用程序池。您没有说明安装/设置网络应用程序时会发生什么,当您尝试在浏览器中访问它时是否会遇到任何错误?

Is it necessary to run aspnet_regiis? 32 bit asp.net should already be installed and running on iis7, all you should need to do is set the app pool to “Enable 32 bit applications” and set you web app to use that app pool. You do not say what happens when you install/setup your web app, do you get any errors when you try to access it in a browser?

娇妻 2024-09-09 03:19:58

问题解决了!显然该问题源于 Windows Server 2008 (R1)。对操作系统应用 SP2 更新可以解决该问题。操作系统的后续迭代似乎没有表现出这种行为。

Problem solved! Apparently the issue stems from Windows Server 2008 (R1). Applying the SP2 update to the operating system cures the problem. Later iterations of the OS don't seem to exhibit this behavior.

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