Using TrySilentDownloadAndInstallStorePackageUpdatesAsync got an error: The specified account does not exist

Victor Chen 106 Reputation points
2020-06-23T18:48:31.53+00:00

I get an error when updating UWP APP using TrySilentDownloadAndInstallStorePackageUpdatesAsync: The specified account does not exist

I try to upgrade according to the sample code here, while using StoreQueueItem.StatusChanged to obtain progress information, sometimes I get this status information (using personal hotspots will be more prone to this phenomenon):

{  
 "ExtendedError":null,  
 "PackageInstallExtendedState":14,  
 "PackageInstallState":4,  
 "UpdateStatus":{  
 "PackageFamilyName":"AppName",  
 "PackageDownloadSizeInBytes":2260223,  
 "PackageBytesDownloaded":2260223,  
 "PackageDownloadProgress":0.95,  
 "TotalDownloadProgress":0.95,  
 "PackageUpdateState":3  
 }  
}  

It looks like Paused, but why Paused? Do I need to call TrySilentDownloadAndInstallStorePackageUpdatesAsync again to install?

At the same time I see some error logs in the event viewer (Applications and Services->Microsoft-?Windows->Store->Operational):

Source: Store-SDK, Event ID: 2004, Task Category: In-App Purchase, Detail:
SendStoreRequestWithUris( nullptr, UriHelperV7::InternalStoreEndpointExtensionUrls, UriHelperV7::InternalStoreEndpointExtensionUrlsIds::GetUserCollectionForProducts, cv, jsonCollectionsParameters.Get(), nullptr, collectionsJsonString.GetAddressOf())
Error: The specified account does not exist.
Function: Windows::Services::Store::Internal::StoreContextServer::GetProductsByKinds
Source: \storecontextserver.cpp (4460)

--

Source: Store-SDK, Event ID: 2004, Task Category: In-App Purchase, Detail:
ChkHr(hrGoldenTicket)
Error: The specified account does not exist.
Function: Windows::Services::Store::Internal::StoreContextServer::SendStoreRequestWithUris
Source: \storecontextserver.cpp (4065)

--

Source: Install-Service, Event ID: 2008, Task Category: Service, Detail:
[Error] ResumeWithFlagsQueueItemId = {9369AD17-2AA2-42A8-8F76-335AFAB88741}
Error: The operation completed successfully.
Function: InstallQueue2::ResumeWithFlags
Source: onecoreuap\enduser\winstore\installservice\libqueue2\installqueue2.cpp (432)

How should I solve this problem?

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-06-23T19:11:55.703+00:00

    May want to ask this one in dedicated publishing forum located here.
    https://social.msdn.microsoft.com/Forums/windowsapps/en-us/home?forum=wpsubmit

    --please don't forget to Accept as answer if the reply is helpful--


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.