Ошибка поиска штрихкода
Добрый день!
При сканировании любого штрихкода появляется сообшение об ошибке десериализации.
Ниже лог.
MobileSMARTS.exe; 1671621438; 15.01.2016 01:06:10.000 ERROR
ADDITION TEXT: Ошибка поиска штрихкода5
MESSAGE: Ошибка при десериализации файла '\Program Files\MobileSMARTS\Documents\Cleverence.Warehouse.ProductsBook.xml', смещение: 5843864
TYPE: System.Runtime.Serialization.SerializationException
[STACK TRACE]
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFilePartially()
at Cleverence.Warehouse.ProductsManager.LoadProductByOffset()
at Cleverence.Warehouse.ProductsManager._TrieFindByPackingBarcode()
at Cleverence.Warehouse.ProductsManager.FindByPackingBarcode()
at Cleverence.Warehouse.Compact.ScanAction.FindCurrentProduct()
at Cleverence.Warehouse.Compact.ScanAction.intProcessBarcode()
at Cleverence.Warehouse.Compact.ScanAction.ProcessBarcode()
at Cleverence.Warehouse.Compact.VisualAction.OnScannerScan()
at Cleverence.Warehouse.Compact.VisualAction.Cleverence.Warehouse.Compact.IActivityAcceptor.AcceptScannerScan()
at Cleverence.Warehouse.Compact.ActionWorkflow.Scanner_Scan()
at Cleverence.Warehouse.Compact.ActionWorkflow.Scanner_Scan()
at Cleverence.Warehouse.Compact.BarcodeScanner.OnScan()
at Cleverence.Warehouse.Compact.HoneywellScanner.scanner_OnScanned()
at BCD.net.CBScanner.CallScanMsgEventHandle()
at CScanMsgWnd.WndProc()
at Microsoft.WindowsCE.Forms.MessageWindow._WndProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Cleverence.Warehouse.Compact.Start.Main()
[STACK TRACE]
--INNER EXCEPTION--
MESSAGE: Value does not fall within the expected range.
TYPE: System.ArgumentException
[STACK TRACE]
at System.Reflection.Assembly.GetType()
at System.Reflection.Assembly.GetType()
at Cleverence.DataCollection.DataAccess.SerializationContext.GetType()
at Cleverence.DataCollection.DataAccess.TypeProvider.GetType()
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize()
at Cleverence.DataCollection.Xml.XmlSerializer.Deserialize()
at Cleverence.DataCollection.Xml.XmlSerializer.DeserializeFilePartially()
at Cleverence.Warehouse.ProductsManager.LoadProductByOffset()
at Cleverence.Warehouse.ProductsManager._TrieFindByPackingBarcode()
at Cleverence.Warehouse.ProductsManager.FindByPackingBarcode()
at Cleverence.Warehouse.Compact.ScanAction.FindCurrentProduct()
at Cleverence.Warehouse.Compact.ScanAction.intProcessBarcode()
at Cleverence.Warehouse.Compact.ScanAction.ProcessBarcode()
at Cleverence.Warehouse.Compact.VisualAction.OnScannerScan()
at Cleverence.Warehouse.Compact.VisualAction.Cleverence.Warehouse.Compact.IActivityAcceptor.AcceptScannerScan()
at Cleverence.Warehouse.Compact.ActionWorkflow.Scanner_Scan()
at Cleverence.Warehouse.Compact.ActionWorkflow.Scanner_Scan()
at Cleverence.Warehouse.Compact.BarcodeScanner.OnScan()
at Cleverence.Warehouse.Compact.HoneywellScanner.scanner_OnScanned()
at BCD.net.CBScanner.CallScanMsgEventHandle()
at CScanMsgWnd.WndProc()
at Microsoft.WindowsCE.Forms.MessageWindow._WndProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Cleverence.Warehouse.Compact.Start.Main()
[STACK TRACE]
Сервис поддержки клиентов работает на платформе UserEcho
Добрый день,
Судя по логу у вас поврежден справочник номенклатуры.
Ошибка при десериализации файла '\Program Files\MobileSMARTS\Documents\Cleverence.Warehouse.ProductsBook.xml'
Перевыгрузите номенклатуру на ТСД.
Спасибо, работает.