I got an error 0x80073B17 (NamedResource Not Found) while packaging files with an .appx file when the resource is in the file. Is there a way to fix this?

Tomáš Ježek 0 Reputation points
2023-03-17T22:34:00.01+00:00

Hello

I was using UWP for the first time when I suddenly got this error. When I entered the Add-AppxPackage -Register APPXFILE.xml command it blinked to a blue positive seemingly message but then it blinked to a fully red error message:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. C:\MAINFILES\FOLDER1\APPXFILEt.xml (31, 21): Error 0x80073B17: unable to register package SEGAofAmericaInc.F0cb6b3aer_ 1.10.27.0_x64_USEU_s751p9cej88mt because when determining whether a localized ms-resource: AppNameho resource could be chained chain was localized, the following error occurred: NamedResource Not Found. Check that the string resource is defined and that the Resources file included in this package defines at least one instance is included in this package. NOTE: For additional information, look for [ActivityId] dabd1aea-5763-0002-8389-d1da6357d901 in the Event Log or use the command line Get-AppPackageLog -ActivityID dabd1aea-5763-0002-8389-d1da6357d901 At line:1 char:1 + Add-AppxPackage -Register APPXFILEt.xml



+ CategoryInfo : WriteError: (C:\MAINFILES\FOLDER1\APPXFILE.xml:String) [Add-AppxPackage], IOException


+FullyQualifiedErrorId:DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand


I have a few ideas about what could be the problem, but I don't know what to do with them:


1) In the error, it is written "AppNameho" even if in the file it is written "AppName" and I don't know what is causing this, it could be my system language (not English) or something else.


2) Something with the Resources file, I don't really know what it is in this context. 


Event Log looked fine before this error but maybe I missed something, should I post it here? 


Hope you help me, thank you.



Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,463 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,126 Reputation points
    2023-03-20T15:12:48.7+00:00
    Hi,
    
    I'd be happy to help you out with your question. Sorry for the inconvenience caused.
    
    The error 0x80073B17 while packaging files with an .appx file is related to the inability of the system to locate a named resource while determining whether a localized ms-resource could be chained.
    
    Regarding your ideas about the problem, the "AppNameho" typo in the error message could be a result of your system language settings or a possible issue with the resource file. However, this is not likely the root cause of the error.
    
    It is possible that the issue could be related to the Resources file. The Resources file is an XML file that contains localized strings, images, and other resources that your app might need. It is essential to ensure that this file is included in your package and correctly defined in the manifest file.
    
    To resolve the issue, please try the following steps to check if it fix the issue for you :
    
    1) Check if the Resources file is correctly defined in the manifest file. You can open the manifest file and look for the <Resources> element to verify this.
    
    2) Ensure that the Resources file is included in your package. You can check this by navigating to the package folder and ensuring that the Resources file is present.
    
    3) Check the Event Log for any additional information. The Event Log can provide valuable information on the cause of the error. You can use the command line "Get-AppPackageLog -ActivityID dabd1aea-5763-0002-8389-d1da6357d901" to retrieve the event log and search for any errors or warnings related to your app.
    
    4. Re-register DLL files: Sometimes, re-registering DLL files can help resolve this error. To do this, open Command Prompt as an administrator and run these commands:
       regsvr32.exe /u appresolver.dll
       regsvr32.exe appresolver.dll
    
    For more Information, Please refer to :-
    
    1. Troubleshoot installation issues with the App Installer file - https://learn.microsoft.com/windows/msix/app-installer/troubleshoot-appinstaller-issues
    
    2. MSIX Packaging Tool Known Issues and Troubleshooting Tips - https://learn.microsoft.com/windows/msix/packaging-tool/tool-known-issues
    
    3. Known Issues with packaged desktop apps - https://learn.microsoft.com/windows/msix/desktop/desktop-to-uwp-known-issues
    
    4. Resolve submission errors - Windows apps - https://learn.microsoft.com/windows/apps/publish/publish-your-app/resolve-submission-errors?source=recommendations
    
    If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.
     
    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.
    
    0 comments No comments