无法在Win7 64位上安装IIS7和ASP.NET 3.5
使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我遇到了同样的问题,我做了在互联网上找到的所有内容,但没有任何用处
最终我能够通过使用以下方法解决它:
注意:这样做的风险由您自己承担
仅当以下内容不存在时才将以下内容添加到您的注册表中(在我的情况下它们不存在):
尝试安装 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):
try installing asp.net 64 bit after that
将 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.
我知道这是一篇相当老的帖子,但我想我应该分享一下我在运行 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.
将 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.
بریده جراید