Access violation Error in IAP Simulation - windows-phone

I am trying to add IAP to a windows phone 8.1 app. I am currently trying to test it by using the WMAPPMANIFEST.
I can run code to get the listings from the file successfully, but whenever i try to simulate buying a product, the application crashes with the error
Exception thrown at 0x69E02F47 (Windows.ApplicationModel.Store.TestingFramework.dll) in G.exe: 0xC0000005: Access violation reading location 0x00000000.
Has someone experienced this error before, what is the solution?

Related

Key Chain Access issue when app distribute through MDM

In our ipad application user has to enter his details for registration. After user enter his details we save those details in the Device's keychain. So next time user launched the app user can use the app without registering again. Since we save it in the keychain even the app reinstall by deleting is also works fine.
To write to key chain we use sskeychain class as most developer do. This feature is working properly in devices without any issue.
One of our client use their symantec (unitymobile) mdm to distribute this app to their users. But when user install it through the mdm app gives following error when saving data to the key chain.
"The operation couldn’t be completed. (com.samsoffes.sskeychain error
-34018.)"
Initially we thought this is due to one of the policies they have included. But no luck. Can some one please tell me what has happened here and how to solve this issue.
P.S.
Actually underlying error was this.
(OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)

Do not play songs from phone music library on device in WP8.1

I develop the music application for Windows Phone 8.1. I use BackgroundTask and access to phone music library. Application work fine on emulator with virtual sd-card, but do not work on device. When trying playback on device, an error occur:
Failed with error code System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
This problem code, which errors occured. Code placed in foreground app for simplycity:
BackgroundMediaPlayer.Current.SetUriSource(new Uri("C:\\Data\\Users\\Public\\Music\\Ballroom\\Juan Camus - Now That The Love's Gone.mp3"));
BackgroundMediaPlayer.Current.Play();
Does anyone know how to solve this problem?
Using SetUriSource from the background task does not work when pointing to files that are not packaged with the app. If you want to play files from the user's library or SD card, you need to use SetFileSource or SetStreamSource instead. You can get the file from a path by calling StorageFile.GetFileFromPathAsync(path).
Unfortunately, this is not documented, so a lot of people will probably run into this (especially since the sample uses SetUriSource). What makes it even worse is the fact that using SetUriSource does work in the simulator and even on the phone, when deploying from VS. But it stops working when submitting to the store. So people will find out very late that their app does not work...

Getting a COMException in my Microsoft Lync video chat app

I am trying to develop a basic app in Visual Studio that does a simple video chat with another person. Everything was working fine and I was able to successfully open a video chat. However, I have installed Lync with UI Supression, and the app will not run. Examining the InnerException I can see that the program is throwing a COMException "Exception from HRESULT: 0x80C8000B"
Via process of elimination I have found that commenting out the line auto = LyncClient.getAutomation() lets the app run, though the functionality of the app is gone.
After all my searching online I cant determine what could be causing this line to break it, and I know I need that line of code in order to move forward.
Automation is not available to you when running in UI Suppression Mode.
Suppression mode requires that Lync be installed on the client's machine, but you then need to use the Lync SDK to do a lot of the things that the client does for you, such as signing in (no trivial matter). However, the Automation section of the SDK is the link to the standard Lync UI, which is why it is unavailable to you.
You also don't have access to any of the UI controls that make up the Lync client ... with the exception of the VideoWindow control - which will most probably be useful to you.
There's a good article on understanding UI Suppression Mode here: http://msdn.microsoft.com/en-us/library/hh345230.aspx
Also, a great sample of how to sign in to Lync when using UI Suppression Mode: http://msdn.microsoft.com/en-us/library/hh378603.aspx
One more thing: if you have access to it, in this book on Lync chapter 5 actually has an end-to-end example of producing a UI Suppression AV kiosk app in WPF - which might be exactly what you're looking for.

System.InvalidOperationException - No error details

A VB.NET app is working on XP, but not in Win 7. User executes the program and it immediate dies with "Stopped Working". A Report.wer file was created and there's no detailed reason other than "System.InvalidOperationException".
How do I get it to tell me more. I put a messagebox in the form load, but it didn't get that far.
I've seen this exception thrown when attempting to run a Windows Forms applications when some of the controls used by the application are defined in a separate assembly which is not present on the machine you're trying to run it on.

appc-security-server will be available soon

All of a sudden while opening my dashboard on Titanium Studio I am getting following error:
503 Service Unavailable.
No server is available to handle this request.
I searched on Google for the error but found nothing except for the same question asked at Appcelerator Forum as this link.
The problem got resolved itself I guess it was due to some error from Appcelerator services or their server was down.