使用 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 时,会显示一个对话框出现此错误消息:
"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".
最佳答案
我遇到了同样的问题,我做了在互联网上找到的所有内容,但没有任何用处 最终我能够通过使用以下方法解决它: 注意:这样做的风险由您自己承担 仅当以下内容不存在时才将以下内容添加到您的注册表中(在我的情况下它们不存在):
[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]
之后尝试安装 64 位 ASP.NET
关于asp.net - 无法在Win7 64位上安装IIS7和ASP.NET 3.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3553407/