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

  • Pergunta

  • 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

    https://social.msdn.microsoft.com/Forums/windowsapps/pt-BR/aeaecd34-63f7-46f1-b79e-0feee14a6590/erro-ao-criar-banco-em-alguns-computadores-utilizando-a-lib-sap-smp-windows-8x-application?referrer=http://social.msdn.microsoft.com/Forums/windowsapps/pt-BR/aeaecd34-63f7-46f1-b79e-0feee14a6590/erro-ao-criar-banco-em-alguns-computadores-utilizando-a-lib-sap-smp-windows-8x-application?forum=wsappspt

    https://stackoverflow.com/questions/47290411/sap-smp-access-violation-when-openstoreasync-windows-8-1

    quarta-feira, 7 de março de 2018 14:02

Respostas

  • Boa tarde, Michel Cisotto. Tudo bem?

    Obrigado por usar o fórum MSDN.

    Esse é o fórum MSDN destinado para perguntas em português, para perguntas em inglês favor usar o fórum nesse link: https://social.msdn.microsoft.com/forums/en-us/home

    Atenciosamente,


    Filipe B de Castro

    Esse conteúdo é fornecido sem garantias de qualquer tipo, seja expressa ou implícita

    MSDN Community Support

    Por favor, lembre-se de Marcar como Resposta as postagens que resolveram o seu problema. Essa é uma maneira comum de reconhecer aqueles que o ajudaram e fazer com que seja mais fácil para os outros visitantes encontrarem a resolução mais tarde.

    quarta-feira, 7 de março de 2018 19:56
    Moderador