I am using SAP SDK In Microsoft bot application. Its working fine for me in local emulator, but after publishing this bot application on azure portal I got this exception.

{"The type initializer for 'SAP.Logon.Core.LogonCore' threw an exception."} Unable to create the store directory. (Exception from HRESULT: 0x80131468)

I was getting exception when I am trying to initialize the logonCore Object.

SharedContext.Context.LogonCoreObj = await 
  LogonCore.InitWithApplicationIdAsync(SharedContext.Context.ApplicationID);
0

There are 0 best solutions below