无法在Win7 64位上安装IIS7和ASP.NET 3.5

发布于 2024-09-16 08:18:22 字数 428 浏览 3 评论 0原文

使用 Win7 32 位 3 个月,开发任何基于 .NET 的应用程序(包括 ASP.NET 应用程序)都没有问题。

三天前刚刚升级了我的笔记本电脑的内存并切换到了64位版本的Win7。

当我正在安装 IIS7 和 .NET Framework 3.5 SP1 时,出现错误,提示由于某种未知原因并未安装所有功能。

当我尝试在 c:\Windows\Microsft.NET\Framework64\v2.0.50727\ 中使用 aspnet_regiis -ir 注册 ASP.NET 时,会显示一个对话框并显示此错误信息:

“操作失败,错误为 0x80070643”,关闭对话框后,控制台命令上显示另一条错误消息:“发生错误:0x80004005 未指定错误”。

Using Win7 32-bit for 3 months and didn't have problem with developing any .NET-based applications including ASP.NET apps.

Just upgraded my laptop's RAM 3 days ago and switched to 64-bit version of Win7.

When I'm working on installing IIS7 and .NET Framework 3.5 SP1, there's an error about not all features were installed for some unknown reason.

When I try to register ASP.NET using aspnet_regiis -ir in c:\Windows\Microsft.NET\Framework64\v2.0.50727\, a dialog box shows with this error message:

"Operation failed with 0x80070643" and after I close the dialog box, another error message on the console command shows with this message: "An error has occurred: 0x80004005 Unspecified error".

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

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

发布评论

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

评论(4

岁月打碎记忆 2024-09-23 08:18:22

我遇到了同样的问题,我做了在互联网上找到的所有内容,但没有任何用处
最终我能够通过使用以下方法解决它:
注意:这样做的风险由您自己承担
仅当以下内容不存在时才将以下内容添加到您的注册表中(在我的情况下它们不存在):

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727\Names]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64\Names]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64\Performance]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64_2.0.50727]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64_2.0.50727\Names]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64_2.0.50727\Performance]

尝试安装 ASP.NET 64 位后那

I had the same problem and I did everything found on the internet but nothing was useful
eventually I was able to solve it by using the following:
note: do it on your own risk
Add the following to you registry only if the doesn't exist (in my case they didn't exist):

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727\Names]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_2.0.50727\Performance]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64\Names]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64\Performance]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64_2.0.50727]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64_2.0.50727\Names]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASP.NET_64_2.0.50727\Performance]

try installing asp.net 64 bit after that

月亮邮递员 2024-09-23 08:18:22

将 IIS 配置为在 32 位模式下运行(假设您的应用程序是 32 位模式,因为这是您最初开发的模式)。

http://learn.iis.net/page .aspx/201/32-bit-mode-worker-processes/

完成后尝试运行 aspnet_regiis。使用 32 位版本的 aspnet_regiis。

Configure IIS to run in 32 bit mode (assuming your apps are 32 bit mode, since that's what you originally developed on).

http://learn.iis.net/page.aspx/201/32-bit-mode-worker-processes/

Try running aspnet_regiis after that is done. Use the 32 bit version of aspnet_regiis.

肤浅与狂妄 2024-09-23 08:18:22

我知道这是一篇相当老的帖子,但我想我应该分享一下我在运行 Windows 7 64 位的计算机上解决此问题的方法。

虽然我的计算机上安装了 IIS,但未启用 ASP.NET 功能。
要启用 ASP.NET,请执行以下操作:

导航至打开或关闭 Windows 功能对话框。它位于

控制面板 --> 程序和功能
注意:在“开始”菜单搜索中输入“功能”也可以到达该位置。

当出现打开或关闭 Windows 功能对话框时,导航至
万维网服务 --> 应用程序开发功能
并确保选中ASP.NET

完成此操作后,aspnet_regiis -ir 命令完美运行,我可以在我的计算机上运行和调试 ASP.NET 应用程序。
希望这有帮助。

I know this is a fairly old post, but I thought I'd share what I did to solve this problem on my machine running Windows 7 64-bit.

While IIS was installed on my computer, the ASP.NET features were not enabled.
To enable ASP.NET do the following:

Navigate to the Turn Windows features on or off dialog. It's located under
Control Panel --> Programs and Features.
Note: Typing 'features' in the Start Menu search will also get you there.

When the Turn Windows features on or off dialog appears, navigate to
World Wide Web Services --> Application Development Features
and make sure ASP.NET is checked.

Once this was done the aspnet_regiis -ir command worked perfectly and I could run and debug ASP.NET apps on my machine.
Hope this helps.

蓝颜夕 2024-09-23 08:18:22

将 IIS 设置为以 32 位模式运行

http:// learn.iis.net/page.aspx/201/32-bit-mode-worker-processes/

完成后尝试运行 aspnet_regiis。使用 32 位版本的 aspnet_regiis。

set IIS to run in 32 bit mode

http://learn.iis.net/page.aspx/201/32-bit-mode-worker-processes/

Try running aspnet_regiis after that is done. Use the 32 bit version of aspnet_regiis.

بریده جراید

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