“WinRT信息:未找到(404)。”加载Store :: ListingInformation ^时 [英] "WinRT information: Not found (404)." when loading Store::ListingInformation^

查看:73
本文介绍了“WinRT信息:未找到(404)。”加载Store :: ListingInformation ^时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试接收  Store :: ListingInformation ^我收到: "WinRT信息:未找到(404)。"

When trying to receive Store::ListingInformation^ I am getting: "WinRT information: Not found (404)."

最多未能收到列表信息的常见问题?

What are the most common problems for failing to receive listing information?

Windows::UI::Core::CoreWindow^ cw = Windows::ApplicationModel::Core::CoreApplication::MainView->CoreWindow;
cw->Dispatcher->RunAsync(Windows::UI::Core::CoreDispatcherPriority::Normal, ref new Windows::UI::Core::DispatchedHandler([]() {
	
    Windows::Foundation::IAsyncOperation<Store::ListingInformation^>^ asyncOperation = StoreApp::LoadListingInformationAsync();
	
    asyncOperation->Completed = ref new Windows::Foundation::AsyncOperationCompletedHandler<Store::ListingInformation^>([](Windows::Foundation::IAsyncOperation<Store::ListingInformation^>^ operation, Windows::Foundation::AsyncStatus status) {
		try
		{
			Store::ListingInformation^ listInfo = operation->GetResults();
		}
		catch (Platform::Exception^ exception)
		{
		}
	});
}));

输出:

错误: ChkHr(responseMessage-> EnsureSuccessStatusCode(& responseSuccess))
(0x80190194) [GetHttpResponse]

错误:C hkHr(GetStringFromURLWithHttpClient(pHttpClient,hstrURL,pCV,nullptr,jsonString.GetAddressOf()))
(0x80190194) [IAPUtils :: GetJsonFromURLWithHttpClient]
$
错误:ChkHr(IAPUtils :: GetJsonFromURLWithHttpClient(httpClient.Get(),hstrUri.Get(),pCV,spJsonObject.GetAddressOf() ))
(0x80190194) [CatalogServiceProxyV6 :: GetProduct]

错误:ChkHr(CatalogServiceProxyV6 :: GetProduct(pStoreCommerceServer-> GetAppCatalogId(pCV),pCV和& product))
(0x80190194) [StoreInfoBuilders :: BuildStoreAppInfo]

错误:ChkHr(StoreInfoBuilders :: BuildStoreAppInfo(pStoreCommerceServer,pCV,hCancel,& spStoreAppInfo))
(0x80190194) [CreateListingInformation]

错误:Chk Hr(CreateListingInformation(_spStoreCommerceServer.Get(),cv.Get(),_ hCancelEvent,_inAppOfferTokens.Get(),_ keywords.Get(),& _spListingInformation))
(0x80190194) [Windows :: ApplicationModel :: Store :: LoadListingOperationServer :: DoWork]

  &NBSP;  :9PMPWFF4Z7R3的未实现耗材(CV = 3moZiyMcYEqYICdE.3.4):
[Windows :: ApplicationModel :: Store :: GetUnfulfilledConsumablesOperationServer :: GetUnfulfilledConsumablesSync]

  &NBSP; &NBSP;:&NBSP; <空列表>
[Windows :: ApplicationModel :: Store :: GetUnfulfilledConsumablesOperationServer :: GetUnfulfilledConsumablesSync]

抛出异常APPNAME_release_windows_store.exe中的0x764A18A2(KernelBase.dll):0x40080201:WinRT发起错误(参数:0x80190194,0x00000012,0x118BF1CC)。
$
APPNAME_release_windows_store.exe中0x764A18A2抛出异常:Microsoft C ++异常:平台: :COMException ^在内存位置0x118BF664。 HRESULT:0x80190194未找到(404)。

ERROR:ChkHr(responseMessage->EnsureSuccessStatusCode(&responseSuccess)) (0x80190194) [GetHttpResponse]
ERROR:ChkHr(GetStringFromURLWithHttpClient(pHttpClient, hstrURL, pCV, nullptr, jsonString.GetAddressOf())) (0x80190194) [IAPUtils::GetJsonFromURLWithHttpClient]
ERROR:ChkHr(IAPUtils::GetJsonFromURLWithHttpClient(httpClient.Get(), hstrUri.Get(), pCV, spJsonObject.GetAddressOf())) (0x80190194) [CatalogServiceProxyV6::GetProduct]
ERROR:ChkHr(CatalogServiceProxyV6::GetProduct(pStoreCommerceServer->GetAppCatalogId(pCV), pCV, &product)) (0x80190194) [StoreInfoBuilders::BuildStoreAppInfo]
ERROR:ChkHr(StoreInfoBuilders::BuildStoreAppInfo( pStoreCommerceServer, pCV, hCancel, &spStoreAppInfo)) (0x80190194) [CreateListingInformation]
ERROR:ChkHr(CreateListingInformation( _spStoreCommerceServer.Get(), cv.Get(), _hCancelEvent, _inAppOfferTokens.Get(), _keywords.Get(), &_spListingInformation)) (0x80190194) [Windows::ApplicationModel::Store::LoadListingOperationServer::DoWork]
     :Unfulfilled Consumables for 9PMPWFF4Z7R3 (CV = 3moZiyMcYEqYICdE.3.4): [Windows::ApplicationModel::Store::GetUnfulfilledConsumablesOperationServer::GetUnfulfilledConsumablesSync]
     :  <empty list> [Windows::ApplicationModel::Store::GetUnfulfilledConsumablesOperationServer::GetUnfulfilledConsumablesSync]
Exception thrown at 0x764A18A2 (KernelBase.dll) in APPNAME_release_windows_store.exe: 0x40080201: WinRT originate error (parameters: 0x80190194, 0x00000012, 0x118BF1CC).
Exception thrown at 0x764A18A2 in APPNAME_release_windows_store.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x118BF664. HRESULT:0x80190194 Not found (404).

推荐答案

您好,

从代码中,您似乎正在使用 Windows.ApplicationModel.Store命名空间 和C ++ / WinRT的,&NBSP;右&NBSP;构建1803后,
UWP应用程序中提供C ++ / WinRT,而 Windows.ApplicationModel.Store命名空间自构建14393后不再更新。所以我建议你可以使用  Windows.Services.Store
命名空间
 而是再试一次。

From the code, it seems that you are using Windows.ApplicationModel.Store Namespace and C++/WinRT, right?  C++/WinRT is available in UWP apps after build 1803 while the  Windows.ApplicationModel.Store Namespace is not no longer updated since build 14393. So I suggest that you could use Windows.Services.Store Namespace instead and try it again.

祝你好运,

Roy


这篇关于“WinRT信息:未找到(404)。”加载Store :: ListingInformation ^时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆