I am facing an issue with Uninstalling IIS From windows server 2016, I am facing the error The referenced assembly could not be found. Error: 0x80073701”
Have summarized the efforts taken andCBS logs below. Kindly suggest.
Hence we tried with:
- sfc /scannow
- dism online restore health (dism /online /cleanup-image /scanhealth, dism /online /cleanup-image /checkhealth, dism /online /cleanup-image /restorehealth)
- dism restore health with iso (DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:F:\Sources\install.wim:1 /LimitAccess)
But still IIS removal failing with same error: The referenced assembly could not be found. Error: 0x80073701 on all the four servers.
Below what we find in the CBS logs. (dism showed to check CBS logs).
Actually we also tried installing the 3kb in the cbs logs but even after that i could only see same issue .
CBS logs:
2024-08-21 02:02:48, Info CBS Perf: Resolve chain complete.
2024-08-21 02:02:48, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-08-21 02:02:48, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-08-21 02:02:48, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package31bf3856ad364e35amd64~~10.0.14393.0, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2024-08-21 02:02:48, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
of 1 operations, disposition 2[gle=0xd015000c]
2024-08-21 02:02:48, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #441168# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(flags = 0, a = 1e36b96bfab6f4d5e3f7dd2f8d9e4d4d, version 10.0.14393.6522, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_5940_for_KB503337331bf3856ad364e35amd64~~10.0.1.3.5033373-11485_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2024-08-21 10:04:39, Info CBS Not able to add poqexec.log to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-08-21 10:04:39, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #426111# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2024-08-21 10:04:39, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #429559# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(flags = 0, a = e947cf1d5af17d6d669d5618bef692ad, version 10.0.14393.4169, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_6623_for_KB502522831bf3856ad364e35amd6410.0.1.7.5025228-13141_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2024-08-21 10:04:39, Info CBS Failed to pin deployment while resolving Update: Package_6623_for_KB502522831bf3856ad364e35amd6410.0.1.7.5025228-13141_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-08-21 10:04:39, CBS Failed to bulk stage deployment manifest and pin deployment for package: Package_7077_for_KB504043431bf3856ad364e35amd64~~10.0.1.19 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-08-21 10:04:39, Info CBS CommitPackagesState: Started persisting state of packages