Win8.1 in-app purchases doesn't work - windows-runtime

My app in store, but when I call
Windows.Store.CurrentApp.LoadListingInformationAsync() - error 0x801900cc
Only for ARM. On x64, x86 all work fine.

Related

Windows Store app only crashes when installed from Windows Store in Windows 8.1

My Windows 8.1 app only crashes when it's installed from the Windows Store on Windows 8.1. These are the different ways how I tried to install and run the app. Success means the app launched fine and showed me my first page. Fail means it crashes after showing the splash screen.
Debug the app in Windows 10: success
Start a release version from Visual Studio without debugging in Windows 10: success
Debug the app in Windows 8.1: success
Start a release version from Visual Studio without debugging in Windows 8.1: success
Remote debugging from Windows 10 to Windows 8.1: success
Remote debugging from Windows to Windows 8.1, but just start a release version from Visual Studio without debugging: success
Sideload app-packages in Windows 8.1: success
Install from Store on Windows 10: success
Install from Store on Windows 8.1: fail
I can reproduce this issue on every Windows 8.1 machine. The app just crashes a few seconds after it showed the splash screen.
I went looking in the event viewer and found an error saying that a remote procedure call failed. There's also an application error saying that combase.dll is the faulting module.
After loading the first page, the app checks if your PC has internet access. If it doesn't, it lets you know you need to check your internet connection. The app has the permission to access the internet as client.
I also configured an application-wide exception handler that catches every unhandled exception. The app then just shows an error message.
If you want to try for yourself: https://www.microsoft.com/store/apps/9wzdncrfj9d5

Can't deploy UWP app to any mobile emulator with latest Visual Studio and emulators

Relevant Visual Studio Version Information -
Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL
Microsoft .NET Framework Version 4.6.00079
Visual C# 2015 00322-20000-00000-AA127 Microsoft Visual C# 2015
Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA127 Windows Phone
SDK 8.0 - ENU
Microsoft Emulator version installed 10.0.26624
Although in the Device Selector in Visual Studio it says 10.0.1024.0.
If I create a new UWP (Windows Universal App) and try to deploy it to any mobile emulator is fails with
"There were deployment errors. Continue?"
Investigating the output window and error list there is absolutely nothing there.
I can deploy the application when the target is Local Machine.
Hyper V has no virtual machines registered.
Any ideas?
the information you get "Hyper V has no virtual machines registered" suggest that your Hyper-V is disabled.
Try to type in coreinfo-v.exe in your cmd to find out.
Make sure that your processor supports Virtualization otherwise there is nothing you can do.:(
If you follow this link you will find quite a lot of information how to enable Hyper-V in your computer.
It's an article for Windows phone emulator 8.1 but still quite useful.
https://msdn.microsoft.com/en-us/library/windows/apps/jj863509(v=vs.105).aspx#coreinfo

Windows Phone Emulator 8 can't install Xamarin application

I have created a Xamarin application and compiled to Release. It was succesfully tested on an Android emulator so I decided to deploy it to a Windows Phone 8.0 Emulator.
I tried to use the Application Deployment but it cannot install because it starts the emulator that never boots, it shows OS starting (starting the emulator on its own is working).
So I downloaded it to the phone and when I try to open it, it says:
Can't install company app. There is a problem with this company app.
Contact your company's support person for help.
Why is the app considered company app? How can I install it to the emulator? What should I set?
The solution consists of two steps.
The company app issue is present because I've downloaded the application from a website, so it is unsafe (the source is the Internet). I have to install it through application deployment (via Visual Studio 2013 or the Windows Phone Application Deployment application).
The second step is to discard (and uninstall) Windows Phone 8.0 and change to Windows Phone 8.1. That helps a lot.

Deploy to device fails when app is installed from store

On my development phone, I have my own app installed in current release from the store. My phone is registered as developer phone.
Now I´m writing an update for that app. In Visual Studio 2013, I wrote some updates and wanted to test them on my device, but I get an error:
Error writing file '%FOLDERID_APPID_INSTALL%\AppID\Project.dll'. Error 0x80070005: Access is denied.
And it doesn´t matter if I try to deploy a "debug" or a "release" build.
The only solution by now is to deinstall my (store) app and deploy then. But so I lose all my Settings and history data withih my app.
Is there any solution for this issue?
I found that I experienced this error when I went to do some further work on our app a few months after I added an In-App purchase.
It seems that in order to test the in-app purchases, I had to set the ProductID in the WMAppManifest.xml file to be the same as that of our live app.
This makes the in-app purchasing testing work, but then fails with the above error the next time you want to deploy it to your phone.
If you change the ProductID in the manifest to something new (or back to what you had it as before) then this fixes the issue.

can not launch app on device

I installed Windows 8.1 RTM and installed VS2012 had a little problem while installing windows phone 8 sdk but i guess it is resolved now but still i have a weird problem.
Even i select "device" as the launch target when clicked the run button VS launches the app on the emulator not the phone. Surprisingly if i right click the project on solution explorer and select debug it this time launched app on the device.
Is there anybody faced with this kind of problem? I dont want to install everthing from scratch :)
Ok it was my fault, since the project build platform was x86 visual studio could not deploy the app to the device and hence launching the emulator. When i changed the build platform to Any CPU now it deploys my app to the device without any problem.