我有一个需要 .NET 3.5 的程序。当我在 Windows 8.1 上运行它时,出现一个弹出窗口,提示:
An app on your PC needs the following Windows feature:
.NET Framework 3.5 (includes .NET 2.0 and 3.0)
[Download and install the feature]
“下载”链接开始安装,但安装失败Error code: 0x800F0906
,并出现链接到通用建议,如“检查您的互联网连接”。我也尝试过:
- 从对话框安装
Windows Features
,但出现同样的错误。 - 下载并运行点网fx35.exe- 重定向到上面并因同样的错误而失败。
下列的损坏的 Flash 更新阻止 Windows 更新 - DISM 失败 0x800f0906,我尝试运行sfc /scannow
和dism /online /cleanup-image /scanhealth
,但都没有解决问题或生成可理解的日志。
那么,如何在 Windows 8.1 上安装 .NET 3.5?
答案1
根据 的输出sfc
,我转而阅读c:\Windows\Logs\CBS\CBS.log
。在发生故障时,我看到了以下几行:
Failed to find package: Package_78_for_KB2966828~31bf3856ad364e35~amd64~~6.3.1.4 from the index with mapping index packages recently rebuilt, [HRESULT = 0x800f090d - CBS_E_MISSING_PACKAGE_MAPPING_INDEX]
Failed to get WU category/updateID for package: Package_78_for_KB2966828~31bf3856ad364e35~amd64~~6.3.1.4 [HRESULT = 0x800f090d - CBS_E_MISSING_PACKAGE_MAPPING_INDEX]
Failed to get the category and update ID for package: Package_78_for_KB2966828~31bf3856ad364e35~amd64~~6.3.1.4, component: amd64_microsoft-windows-wpfcorecomp.resources_31bf3856ad364e35_6.3.9600.20708_en-us_a3b67b207d2057ab, file: PresentationHostDLL.dll.mui [HRESULT = 0x800f090d - CBS_E_MISSING_PACKAGE_MAPPING_INDEX]
Exec: Missing files are found during staging attempt but failed to download content from WU. [HRESULT = 0x800f090d - CBS_E_MISSING_PACKAGE_MAPPING_INDEX]
凭直觉,我卸载了KB2966828
日志中提到的内容,然后,安装成功了!如果它真的很重要,我希望 Windows Update 能再次安装它……