Ошибка запуска приложения версии 2.7
Не запускается на ТСД программа. Ошибка инициализации. Отпрвляет к логу.
В логе:
----------------
0; 3; 11.07.2017 17:11:16.515 ERROR
ADDITION TEXT: Environment.cctor
MESSAGE: Ошибка при десериализации файла '/storage/sdcard0/MobileSMARTS/Configuration/Cleverence.Warehouse.Environment.xml'
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: DeserializeFileAndWatchOffsets
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00098] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializationReader.ReadSingletonAndWatchOffsets (System.String singletonTypeName, System.Object singleton, System.String[] watchingTags) [0x00052] in <filename unknown>:0
at Cleverence.Warehouse.Environment.Update () [0x00000] in <filename unknown>:0
at Cleverence.Warehouse.Environment..cctor () [0x000f6] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Serialization schema for 'Cleverence.Warehouse.Environment' doesn't allow 'CommonFields' child nodes.
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: Deserialize
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x00132] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x0076f] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag) [0x00000] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (System.Xml.XmlReader reader, ISerializationHelper helper, System.IO.Stream baseStream) [0x00075] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00040] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
0; 3; 11.07.2017 17:11:16.553 ERROR
ADDITION TEXT: MainApp.Initialize func:
MESSAGE: The type initializer for 'Cleverence.Warehouse.Environment' threw an exception.
TYPE: System.TypeInitializationException
SOURCE: Cleverence.Compact.Core
TARGETSITE: CheckVersion
[STACK TRACE]
at Cleverence.Warehouse.Compact.MainApp.CheckVersion (System.Action`1 callback) [0x0001a] in <filename unknown>:0
at Cleverence.Warehouse.Compact.MainApp.Initialize (System.Action`1 callback) [0x0006f] in <filename unknown>:0
[STACK TRACE]
TYPENAME: Cleverence.Warehouse.Environment
HRESULT: -2146233036
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Ошибка при десериализации файла '/storage/sdcard0/MobileSMARTS/Configuration/Cleverence.Warehouse.Environment.xml'
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: DeserializeFileAndWatchOffsets
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00098] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializationReader.ReadSingletonAndWatchOffsets (System.String singletonTypeName, System.Object singleton, System.String[] watchingTags) [0x00052] in <filename unknown>:0
at Cleverence.Warehouse.Environment.Update () [0x00000] in <filename unknown>:0
at Cleverence.Warehouse.Environment..cctor () [0x000f6] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Serialization schema for 'Cleverence.Warehouse.Environment' doesn't allow 'CommonFields' child nodes.
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: Deserialize
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x00132] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x0076f] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag) [0x00000] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (System.Xml.XmlReader reader, ISerializationHelper helper, System.IO.Stream baseStream) [0x00075] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00040] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
0; 3; 11.07.2017 17:12:27.945 ERROR
ADDITION TEXT: Environment.cctor
MESSAGE: Ошибка при десериализации файла '/storage/sdcard0/MobileSMARTS/Configuration/Cleverence.Warehouse.Environment.xml'
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: DeserializeFileAndWatchOffsets
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00098] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializationReader.ReadSingletonAndWatchOffsets (System.String singletonTypeName, System.Object singleton, System.String[] watchingTags) [0x00052] in <filename unknown>:0
at Cleverence.Warehouse.Environment.Update () [0x00000] in <filename unknown>:0
at Cleverence.Warehouse.Environment..cctor () [0x000f6] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Serialization schema for 'Cleverence.Warehouse.Environment' doesn't allow 'CommonFields' child nodes.
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: Deserialize
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x00132] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x0076f] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag) [0x00000] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (System.Xml.XmlReader reader, ISerializationHelper helper, System.IO.Stream baseStream) [0x00075] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00040] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
0; 3; 11.07.2017 17:12:27.979 ERROR
ADDITION TEXT: MainApp.Initialize func:
MESSAGE: The type initializer for 'Cleverence.Warehouse.Environment' threw an exception.
TYPE: System.TypeInitializationException
SOURCE: Cleverence.Compact.Core
TARGETSITE: CheckVersion
[STACK TRACE]
at Cleverence.Warehouse.Compact.MainApp.CheckVersion (System.Action`1 callback) [0x0001a] in <filename unknown>:0
at Cleverence.Warehouse.Compact.MainApp.Initialize (System.Action`1 callback) [0x0006f] in <filename unknown>:0
[STACK TRACE]
TYPENAME: Cleverence.Warehouse.Environment
HRESULT: -2146233036
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Ошибка при десериализации файла '/storage/sdcard0/MobileSMARTS/Configuration/Cleverence.Warehouse.Environment.xml'
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: DeserializeFileAndWatchOffsets
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00098] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializationReader.ReadSingletonAndWatchOffsets (System.String singletonTypeName, System.Object singleton, System.String[] watchingTags) [0x00052] in <filename unknown>:0
at Cleverence.Warehouse.Environment.Update () [0x00000] in <filename unknown>:0
at Cleverence.Warehouse.Environment..cctor () [0x000f6] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Serialization schema for 'Cleverence.Warehouse.Environment' doesn't allow 'CommonFields' child nodes.
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: Deserialize
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x00132] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x0076f] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag) [0x00000] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (System.Xml.XmlReader reader, ISerializationHelper helper, System.IO.Stream baseStream) [0x00075] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00040] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
0; 3; 11.07.2017 17:12:37.574 ERROR
ADDITION TEXT: Environment.cctor
MESSAGE: Ошибка при десериализации файла '/storage/sdcard0/MobileSMARTS/Configuration/Cleverence.Warehouse.Environment.xml'
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: DeserializeFileAndWatchOffsets
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00098] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializationReader.ReadSingletonAndWatchOffsets (System.String singletonTypeName, System.Object singleton, System.String[] watchingTags) [0x00052] in <filename unknown>:0
at Cleverence.Warehouse.Environment.Update () [0x00000] in <filename unknown>:0
at Cleverence.Warehouse.Environment..cctor () [0x000f6] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Serialization schema for 'Cleverence.Warehouse.Environment' doesn't allow 'CommonFields' child nodes.
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: Deserialize
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x00132] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x0076f] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag) [0x00000] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (System.Xml.XmlReader reader, ISerializationHelper helper, System.IO.Stream baseStream) [0x00075] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00040] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
0; 3; 11.07.2017 17:12:37.604 ERROR
ADDITION TEXT: MainApp.Initialize func:
MESSAGE: The type initializer for 'Cleverence.Warehouse.Environment' threw an exception.
TYPE: System.TypeInitializationException
SOURCE: Cleverence.Compact.Core
TARGETSITE: CheckVersion
[STACK TRACE]
at Cleverence.Warehouse.Compact.MainApp.CheckVersion (System.Action`1 callback) [0x0001a] in <filename unknown>:0
at Cleverence.Warehouse.Compact.MainApp.Initialize (System.Action`1 callback) [0x0006f] in <filename unknown>:0
[STACK TRACE]
TYPENAME: Cleverence.Warehouse.Environment
HRESULT: -2146233036
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Ошибка при десериализации файла '/storage/sdcard0/MobileSMARTS/Configuration/Cleverence.Warehouse.Environment.xml'
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: DeserializeFileAndWatchOffsets
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00098] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializationReader.ReadSingletonAndWatchOffsets (System.String singletonTypeName, System.Object singleton, System.String[] watchingTags) [0x00052] in <filename unknown>:0
at Cleverence.Warehouse.Environment.Update () [0x00000] in <filename unknown>:0
at Cleverence.Warehouse.Environment..cctor () [0x000f6] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
--INNER EXCEPTION--
MESSAGE: Serialization schema for 'Cleverence.Warehouse.Environment' doesn't allow 'CommonFields' child nodes.
TYPE: System.Runtime.Serialization.SerializationException
SOURCE: Cleverence.DataCollection.Compact
TARGETSITE: Deserialize
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x00132] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag, System.String[] nodesForPass) [0x0076f] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (Cleverence.DataCollection.Xml.XmlSerializationSchema parentSchema, Cleverence.DataCollection.Xml.XmlSerializationBag bag) [0x00000] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize (System.Xml.XmlReader reader, ISerializationHelper helper, System.IO.Stream baseStream) [0x00075] in <filename unknown>:0
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFileAndWatchOffsets (System.String path, System.String[] watchingTags, System.Collections.Generic.List`1& offsets) [0x00040] in <filename unknown>:0
[STACK TRACE]
HRESULT: -2146233076
DATA: System.Collections.Generic.Dictionary`2[System.Object,System.Object]
Ответ
Добрый день,
Такая проблема наблюдалась на некоторых версиях прошивок смарт дроида.
Варианты решения:
Закройте приложение на ТСД.
Попробуйте очистить папку Documents в папке приложения MobileSMARTS на ТСД.
Запустите приложение и выполните обмен с сервром.
2.7.1.25 - это старое приложение. Андроид устройства поддерживаются только на 3.0*** и выше. Способ указанный выше скорее всего не поможет, вам нужно обновиться и ПРОФ драйвер и приложение на ТСД на новую версию.
Решение:
Порт базы продукта был открыт и проброшен "в интернет."
А порт сервера Mobile SMARTS не был открыт.
Сервис поддержки клиентов работает на платформе UserEcho
Решение:
Порт базы продукта был открыт и проброшен "в интернет."
А порт сервера Mobile SMARTS не был открыт.