Symptom
Windows-Kapsel application crashes when it's opened second time, while opening the offline store with the following error messages:
DataVault KeyDoesNotExist Exception: no string value exists with key "settingsdata" . ID: <ID>
...
Exception occured while checking vault consistency: The type initializer for 'System.Runtime.Serialization.XmlFormatReaderGenerator' threw an exception.
...
IoReadError: The type initializer for 'System.Runtime.Serialization.XmlFormatReaderGenerator' threw an exception. ID: <ID>
...
SAP.SecureStore.DataVaultException: The type initializer for 'System.Runtime.Serialization.XmlFormatReaderGenerator' threw an exception.
...
{"errorCode":"1","errorMessage":"The type initializer for 'System.Runtime.Serialization.XmlFormatReaderGenerator' threw an exception.","errorDomain":"MAFLogonCoreCDVPluginErrorDomain"}
Note: The issue is not reproducible in UWP applications only in Kapsel applications.
Read more...
Environment
- SAP Mobile Platform (SMP) SDK 3.0 - Kapsel
- Microsoft Windows
- Microsoft Visual Studio 2017
Product
Keywords
smp, sdk, kapsel, uwp, win, app, apps, crash, crashing, crashes, offline, store, logon, plugin, DataContractSerializer, Visual Studio, WindowsSDK_UnionMetadataPath , KBA , MOB-SDK-KAP , Kapsel: Hybrid Container , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.