IIS Failure to Install on Data Center Server 2019 0x80073701

Peter Jones (BIDA) 86 Reputation points
2022-11-08T10:07:12.433+00:00

Hi All,

I am getting 0x80073701 when installing IIS on windows server 2019 data center edition.

This is a demo server we are creating on an SSD so we can take it to customers and run under VMWare pro to demo software we are developing.

The result from the CBS log is below.

I have been to this post:

https://answers.microsoft.com/en-us/windows/forum/all/0x80073701-error-while-installing-iis-features-on/21c662d2-ed71-4e17-94c8-a571ebd5c235

I have run
sfc /scannow
dism /online /cleanup-image /startcomponentcleanup
DISM /Online /Cleanup-Image /ScanHealth

I still get the same error.

I am not the worlds greatest Server 2019 specialist or IIS specialist.

But I have installed plenty of IISs over the years and I have never seen this error.

I am thinking it might be an error on the SSD the VM is on.

If you have any suggestion on how I can understand what this message in CBS.log means and how I can fix this?

I would really appreciate that.

Thanks.

Best Regards

Peter

2022-11-08 11:59:01, Error CSI 0000101e (F) STATUS_SXS_ASSEMBLY_MISSING #18253174# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2022-11-08 11:59:01, Error CSI 0000101f (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #18253016# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = be61d6ca2ab4dcc4eede90c05a096ade, version 10.0.17763.1790, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_3817_for_KB5004308~31bf3856ad364e35~amd64~~10.0.1.8.5004308-7081_neutral', rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2022-11-08 11:59:01, Info CBS Failed to pin deployment while resolving Update: Package_3817_for_KB5004308~31bf3856ad364e35~amd64~~10.0.1.8.5004308-7081_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:01, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Microsoft-Windows-IIS-WebServer-Server-Features-Package~31bf3856ad364e35~amd64~en-US~10.0.17763.1 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:01, Info CBS CommitPackagesState: Started persisting state of packages
2022-11-08 11:59:01, Info CBS CommitPackagesState: Completed persisting state of packages
2022-11-08 11:59:01, Info CSI 00001020@Gary_WRC /11/8:09:59:01.353 CSI Transaction @0x194d9d73c80 destroyed
2022-11-08 11:59:01, Info CBS Perf: Resolve chain complete.
2022-11-08 11:59:01, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:01, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:01, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2022-11-08 11:59:01, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-11-08 11:59:01, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2022-11-08 11:59:01, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20221107122104.log to WER report.
2022-11-08 11:59:01, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20221107093745.cab to WER report.
2022-11-08 11:59:01, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20221104095114.cab to WER report.
2022-11-08 11:59:01, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20221102103036.cab to WER report.
2022-11-08 11:59:01, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20221101161103.cab to WER report.
2022-11-08 11:59:01, Info CBS Not able to add %windir%\winsxs\poqexec.log to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-11-08 11:59:01, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-11-08 11:59:01, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-11-08 11:59:02, Info CBS Reboot mark cleared
2022-11-08 11:59:02, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2022-11-08 11:59:02, Info CBS Winlogon: Deregistering for CreateSession notifications
2022-11-08 11:59:02, Info CBS FinalCommitPackagesState: Started persisting state of packages
2022-11-08 11:59:02, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2022-11-08 11:59:02, Info CBS Enabling LKG boot option
2022-11-08 11:59:02, Info CBS Exec: Automatic corruption repair has already been attempted today, skip it.
2022-11-08 11:59:02, Info CBS Exec: Processing complete. Session: 30995288_3043371172, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:02, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:02, Info CBS Session: 30995288_3043371172 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-11-08 11:59:02, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]

Internet Information Services
{count} votes

3 answers

Sort by: Most helpful
  1. Yurong Dai-MSFT 2,811 Reputation points Microsoft Vendor
    2022-11-09T03:24:22.797+00:00

    Hi @Peter Jones (BIDA)
    I found the following key error message in your cbs.log:

    2022-11-08 11:59:01, Info CBS Failed to pin deployment while resolving Update: Package_3817_for_KB5004308~31bf3856ad364e35~amd64~~10.0.1.8.5004308-7081_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
    2022-11-08 11:59:01, Info CBS Failed to bulk stage deployment manifest and pin deployment for package: Microsoft-Windows-IIS-WebServer-Server-Features-Package~31bf3856ad364e35~amd64~en-US~10.0.17763.1 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    You need to download a patche for Windows: KB5004308 (windows10.0-kb5004308-x64_a5a88eb7315b9ff3c06b907f7aeb38e3e6493458.msu) download link

    Then extract the file using the command: (run the command according to your actual path)
    expand -F:* C:\Download\windows10.0-kb5004308-x64_a5a88eb7315b9ff3c06b907f7aeb38e3e6493458.msu c:\Download\cab

    Then install the CAB file using the DISM command, the following command installs update KB5004308on Windows:
    dism/online/add-package/packagepath: C:\Download\cab\Windows10.0-KB5004308-x64.cab

    Finally try to install IIS again, I hope you can install it successfully.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the email notification for this thread.

    Best regards,
    Yurong Dai

    2 people found this answer helpful.

  2. Kloos, Patrick 5 Reputation points
    2023-02-21T10:11:43.9133333+00:00

    Hi Michael, i fixed it without reinstalling the os.

    in my case the missing or corrupted KB was KB4489889

    So i searched for "for_KB4489889" in HKLMSoftware\microsoft\windows\currentversion\componten based servicing\packages

    and deleted (used "registrar" because of missing permissions) ALL of the Keys. STRG+A -> del.

    Reboot win Update service.

    Done.

    1 person found this answer helpful.

  3. Michael Schneider 16 Reputation points
    2023-02-08T14:54:59.8366667+00:00

    Hello,

    I have a very similar problem on at least 5 2019 servers when installing Windows Defender feature.

    All servers different usage: domain controller, different application - I could not find a pattern yet.

    Here is the last part of my log:

    (before there are several hundred lines similar to the first line here)

    2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4203_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7354_neutral

    2023-02-08 15:46:45, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.

    2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4203_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7354_neutral, PinDeployment: amd64_13754f4cdc770d92f454ba04197b360d_31bf3856ad364e35_10.0.17763.1075_none_7e32cd4325d4490e

    2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7375_neutral

    2023-02-08 15:46:45, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.

    2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7375_neutral, PinDeployment: amd64_b287d603a8175609ed2e463aeef16ea7_31bf3856ad364e35_10.0.17763.529_none_51aea1214fa9c6d9

    2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4223_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7374_neutral

    2023-02-08 15:46:45, Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged.

    2023-02-08 15:46:45, Info CBS Exec: Resolving Package: Package_4223_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6, Update: 4577668-7374_neutral, PinDeployment: amd64_761c81c8e268514e1df67850097cd1bf_31bf3856ad364e35_10.0.17763.831_none_d1adbfc11ed3dfbc

    2023-02-08 15:46:45, Info CBS Exec: 3 deployments need bulk staging

    2023-02-08 15:46:45, Error CSI 00000008@2023/2/8:14:46:45.323 (F) onecore\base\wcp\componentstore\csd_locking.cpp(95): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)

    [gle=0x80004005]

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208121652.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208031652.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207101651.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207021651.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230206081752.log to WER report.

    2023-02-08 15:46:45, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Not able to add poqexec.log to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #3747# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]

    2023-02-08 15:46:45, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #3589# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = b287d603a8175609ed2e463aeef16ea7, version 10.0.17763.529, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6.4577668-7375_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]

    2023-02-08 15:46:45, Info CBS Failed to pin deployment while resolving Update: Package_4224_for_KB4577668~31bf3856ad364e35~amd64~~10.0.1.6.4577668-7375_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:45, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Package_5023_for_KB5021237~31bf3856ad364e35~amd64~~10.0.1.10 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:45, Info CBS CommitPackagesState: Started persisting state of packages

    2023-02-08 15:46:45, Info CBS CommitPackagesState: Completed persisting state of packages

    2023-02-08 15:46:45, Info CSI 0000000b@2023/2/8:14:46:45.492 CSI Transaction @0x1fca4c85c60 destroyed

    2023-02-08 15:46:45, Info CBS Perf: Resolve chain complete.

    2023-02-08 15:46:45, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:45, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:45, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider

    2023-02-08 15:46:45, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208121652.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230208031652.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207101651.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230207021651.log to WER report.

    2023-02-08 15:46:45, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230206081752.log to WER report.

    2023-02-08 15:46:45, Info CBS Not able to add %windir%\winsxs\poqexec.log to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    2023-02-08 15:46:45, Info CBS Reboot mark cleared

    2023-02-08 15:46:45, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications

    2023-02-08 15:46:45, Info CBS Winlogon: Deregistering for CreateSession notifications

    2023-02-08 15:46:45, Info CBS FinalCommitPackagesState: Started persisting state of packages

    2023-02-08 15:46:45, Info CBS FinalCommitPackagesState: Completed persisting state of packages

    2023-02-08 15:46:45, Info CBS Enabling LKG boot option

    2023-02-08 15:46:45, Info CBS Exec: Will not run corruption repair because no store corruption found.

    2023-02-08 15:46:45, Info CBS Exec: Processing complete. Session: 31013836_698641576, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:47, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:47, Info CBS Session: 31013836_698641576 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

    2023-02-08 15:46:47, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]

    Corresponding to the suggested solution above I need to re-install "Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1"?

    If so, where do I find sources?

    Any ideas?

    Thank you! Michael