question

iSudo-5699 avatar image
0 Votes"
iSudo-5699 asked ComputerResources-9411 commented

Error: 0x80073701 - Can't Install "IP and Domain Restrictions" IIS - Windows Server 2019

Greetings,

Subject:
Error: 0x80073701 - Can't Install "IP and Domain Restrictions" IIS - Windows Server 2019

Environments:
Windows Server 2019

Issue:
I am trying to install


Screenshot:
189210-image.png


189264-image.png

Note: I tried to use both GUI Server Manager and PowerShell, same issue.

 PS C:\Users\Administrator> Install-WindowsFeature Web-IP-Security
 Install-WindowsFeature : The request to add or remove features on the specified server failed.
 Installation of one or more roles, role services, or features failed.
 The referenced assembly could not be found. Error: 0x80073701
 At line:1 char:1
 + Install-WindowsFeature Web-IP-Security
 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
     Exception
     + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
    owsFeatureCommand
    
 Success Restart Needed Exit Code      Feature Result
 ------- -------------- ---------      --------------
 False   No             Failed         {}




Note: Some other roles can be installed without issues, and some with the same issue above.


Note: From the log, filtering using the error code:

 C:\Windows\Logs\CBS


Found many errors:

     Line 44751: 2022-04-01 15:30:03, Info                  CBS    Failed to FinalizeEx using worker session [HRESULT = 0x80073701]
     Line 55057: 2022-04-01 15:34:18, Error                 CSI    0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #937241# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = a37ffc23504c050e2d711089955af93e, version 10.0.17763.771, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_3253_for_KB4565349~31bf3856ad364e35~amd64~~10.0.1.5.4565349-5755_neutral', rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
     Line 55058: 2022-04-01 15:34:18, Info                  CBS    Failed to pin deployment while resolving Update: Package_3253_for_KB4565349~31bf3856ad364e35~amd64~~10.0.1.5.4565349-5755_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55059: 2022-04-01 15:34:18, Info                  CBS    Failed to bulk stage deployment manifest and pin deployment for package:Package_224_for_KB5011551~31bf3856ad364e35~amd64~~10.0.1.6 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55064: 2022-04-01 15:34:18, Info                  CBS    Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55065: 2022-04-01 15:34:18, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55066: 2022-04-01 15:34:18, 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
     Line 55084: 2022-04-01 15:34:18, Info                  CBS    Exec: Processing complete.  Session: 30950911_1999217240, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55085: 2022-04-01 15:34:18, Error                 CBS    Failed to perform operation.  [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55086: 2022-04-01 15:34:18, Info                  CBS    Session: 30950911_1999217240 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
     Line 55087: 2022-04-01 15:34:18, Info                  CBS    Failed to FinalizeEx using worker session [HRESULT = 0x80073701]



Help would be appreciated.

Thanks.


windows-serverwindows-server-powershellwindows-server-2019windows-server-2016windows-server-iis
image.png (202.1 KiB)
image.png (106.2 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Search for "Package_3253_for_KB4565349" and you'll find others that have experienced this problem along with suggestions for repairing it. Still not a PowerShell problem, though.

0 Votes 0 ·
iSudo-5699 avatar image iSudo-5699 RichMatheisen-8856 ·

Yes, I know it's not a PowerShell issue, I just wanted to try both.

It's a Windows Server issue. Some files missing, not sure what caused the issue though!

0 Votes 0 ·

Have you tried any of the suggested ways of resolving the problem? A "repair installation", if it works, seems to be the one that's least disruptive.

0 Votes 0 ·
Show more comments

set you language to English (United States) for example instead of the default where it autodetects you language. otherwise it will try to add packages matching client login. 2 second fix :)

0 Votes 0 ·
RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered iSudo-5699 commented

Not really a PowerShell problem. A quick search turns up lots of hits on your problem, but the one cause that seems to turn up most frequently is one of the installed language(s) on the machine: solved-windows-feature-installation-the-referenced-assembly-could-not-be-found-error-0x80073701


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried the tool

 lpksetup



There is only the default English only.

189287-image.png


0 Votes 0 ·
image.png (58.8 KiB)
SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered SamWu-MSFT commented

@iSudo-5699

The error 0x80073701 is error_sxs_assembly_missing, which means that there are some system files are missing, leading to the Windows update installation failure. you can tryn to run the DISM tool to fix the corrupted system files.

1: Open Command Prompt

Open the Command Prompt and run it as administrator. For detailed ways, please refer to the first solution listed above.

2: Type the command

In the pop-up window, type the command DISM /Online /Cleanup-Image /RestoreHealth and hit Enter to continue. Also, you can use the command - DISM /Online /Cleanup-Image /Startcomponentcleanup.

Next, restart your computer to take effect and check whether the Windows update 0x80073701 error is solved.


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 related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SamWu-MSFT

I tried the two commands and rebooted the Windows Server 2016 machine.





 Microsoft Windows [Version 10.0.17763.2746]
 (c) 2018 Microsoft Corporation. All rights reserved.
    
 C:\Users\Administrator>DISM /Online /Cleanup-Image /RestoreHealth
    
 Deployment Image Servicing and Management tool
 Version: 10.0.17763.1697
    
 Image Version: 10.0.17763.2746
    
 [===========================97.9%========================  ]
 Error: 0x800f081f
    
 The source files could not be found.
 Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
    
 The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


The first command above asking for a source, I think it couldn't complete, however, the second one seems to be completed successfully.

 C:\Users\Administrator>DISM /Online /Cleanup-Image /Startcomponentcleanup
    
 Deployment Image Servicing and Management tool
 Version: 10.0.17763.1697
    
 Image Version: 10.0.17763.2746
    
 [==========================100.0%==========================]
 The operation completed successfully.




Still no luck. Any ideas?

0 Votes 0 ·

@iSudo-5699 It is difficult to reproduce your problem based on this messages, I suggest you pen a support ticket for this, one of our engineers will help slove the issue.

0 Votes 0 ·