SMP SDK Access Violation error when access ODataOfflineStore.OpenStoreAsync method - Windows 8.1 RRS feed

  • Question

  • I'm developing a Universal Windows 8.1 Application with Windows Phone and Windows 8.1 Project using Visual Studio 2015 and C#, the issue described below only happens in some of our notebooks and is disturbing our developers.

    After filling the login and password to access the application, we call the method ODataOfflineStore.OpenStoreAsync passing some parameters, as HttpCliente, Hostname, Port, ServiceRoot, StoreName and StoreEncryptionKey.

    We call the method like this, being the store our ODataOfflineStore.

    await store.OpenStoreAsync(GetOptions(client, serviceRoot, storeName, definingRequest), token, progress)

    The method GetOptions return a ODataOfflineStoreOptions.

    This code works just fine, it works in some notebooks and also in our windows phone application, but in some of our notebooks, in debug mode, after calling the OpenStoreAsync method visual studio opens the "Choose Just-In-Time Debugger"

    I Select Ok and then Cancel (if I choose OK, opens another instance of visual studio 2015), my application crash and in the Output window, I receive the following message.

    "The program '[5520] SalesInMotion.Windows.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'."

    Please, any of you guys have encountered a similar issue? I've developed this application and it's not working on my notebook anymore.

    This issue is happening in some Windows 10 notebooks with a development environment, with SMP SDK 3.0 P15, Visual Studio 2015.


    Places where I published the thread:
    https://answers.sap.com/questions/426667/smp-<g class="gr_ gr_138 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="138" id="138">sdk</g>-access-violation-error-when-access-odataof.html



    • Moved by Breeze Liu Thursday, March 15, 2018 5:58 AM off topic
    Wednesday, March 14, 2018 4:36 PM

All replies

  • Hi Guilherme Flores dos Santos,

    As you mentioned above, it only happens in some of the devices. And it is a third party SDK which is out of the scope of UWP forum. I suggest that you could ask the SAP team for this like they said in your thread in their forum.

    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, March 15, 2018 6:02 AM