我试图在Windows2012Essential服务器上安装.NET 3.5Framework,但遇到以下错误: HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING
在我看来,在检查CBS日志之后,Package~31bf3856ad364e35~amd64~~6.2.9200.16384似乎是一个令人反感的包。下面是日志的片段:
2014-12-03 15:57:55, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-03 15:57:55, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-03 15:57:55, Info CBS WER: Generating failure report for package: Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.2.9200.16384, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2014-12-03 15:57:55, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-12-03 15:57:55, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.编辑:在更仔细地检查CBS日志之后,实际的错误似乎是服务器试图安装西班牙版本的.NET。
2014-12-10 08:53:39, Error CSI 0000000b (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #623199# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = Microsoft-Windows-NetFx3-Deployment-LanguagePack, Version = 6.2.9200.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"es-ES", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, cb = (null), s = (null), rid = [93]"Microsoft-Windows-NetFx3-Server-OC-Package~31bf3856ad364e35~amd64~es-ES~6.2.9200.16384.NetFx3", rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]"Microsoft-Windows-NetFx3-Server-OC-Package~31bf3856ad364e35~amd64~es-ES~6.2.9200.16384.NetFx3“
发布于 2014-12-10 18:32:33
我找到了解决问题的办法。为了详细说明我今天早些时候所做的编辑,哥伦比亚广播公司的日志显示,DISM试图同时安装.NET 3.5框架的英文和西班牙文版本,下面给您一个更好的关于发生什么的想法。
2014-12-10 08:53:39, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.
2014-12-10 08:53:39, Info CBS Exec: Resolving Package: Microsoft-Windows-IIS-WebServer-Core-Package~31bf3856ad364e35~amd64~es-ES~6.2.9200.16384, Update: IIS-UAL, PinDeployment: amd64_microsoft-windows-i..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_es-es_5330c9534689b90c
2014-12-10 08:53:39, Info CBS Exec: 315 deployments need bulk staging
2014-12-10 08:53:39, Error CSI 00000009@2014/12/10:13:53:39.542 (F) base\wcp\componentstore\csd_locking.cpp(216): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210133834.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210094833.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210083832.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210020831.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141209210827.log to WER report.
2014-12-10 08:53:39, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-12-10 08:53:39, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-12-10 08:53:39, Error CSI 0000000a (F) STATUS_SXS_ASSEMBLY_MISSING #623313# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2014-12-10 08:53:39, Error CSI 0000000b (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #623199# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = Microsoft-Windows-NetFx3-Deployment-LanguagePack, Version = 6.2.9200.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"es-ES", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, cb = (null), s = (null), rid = [93]"Microsoft-Windows-NetFx3-Server-OC-Package~31bf3856ad364e35~amd64~es-ES~6.2.9200.16384.NetFx3", rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2014-12-10 08:53:39, Info CBS Failed to pin deployment while resolving Update: Microsoft-Windows-NetFx3-Server-OC-Package~31bf3856ad364e35~amd64~es-ES~6.2.9200.16384.NetFx3 from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Microsoft-Windows-ADFS-WebAgents-Package~31bf3856ad364e35~amd64~~6.2.9200.16384 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Info CSI 0000000c@2014/12/10:13:53:39.558 CSI Transaction @0xd5456110a0 destroyed
2014-12-10 08:53:39, Info CBS Perf: Resolve chain complete.
2014-12-10 08:53:39, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Info CBS WER: Generating failure report for package: Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.2.9200.16384, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2014-12-10 08:53:39, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210133834.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210094833.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210083832.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141210020831.log to WER report.
2014-12-10 08:53:39, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20141209210827.log to WER report.
2014-12-10 08:53:39, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-12-10 08:53:39, Info CBS Restored system sleep block state: 0x80000000
2014-12-10 08:53:39, Info CBS Exec: Processing complete. Session: 30413952_2937928284, Package: Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.2.9200.16384 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Info CBS Session: 30413952_2937928284 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2014-12-10 08:53:39, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]在上面的输出中,您可以看到它只在西班牙语包上出错。我检查了语言资源应该存储的位置"C:\Windows* language *“,发现有一个文件夹用于西班牙语包"C:\Windows\es-ES",但是文件夹是空的。有了这些信息,很明显语言包被错误地删除了,或者安装失败了,而且从未完成。乙醚方式,我想出的最简单的解决方案就是重新安装正确的语言包,包括任何DISM需要的必要的依赖。
解决我的问题的步骤如下:
https://serverfault.com/questions/649231
复制相似问题