Configuration missing

Yes, sometimes it happens... Please report any bugs here
Post Reply
IK7HTB
Novice Class
Posts: 8
Joined: 04 Mar 2014, 12:26

Configuration missing

Post by IK7HTB » 05 Aug 2019, 15:29

Hi everyone,
a friend of mine has an issue with log4om configuration. He sometimes miss the configuration and it's necessary to reload all the information again.
I found this error in the log :

2019-08-04 09:10:19.5138 INFO: FileManagement: CONFIG begin load
2019-08-04 09:10:19.5294 ERROR: * FileManagement: Error in FileManagement in DeserializeConfig function for log C:\Users\Utente\AppData\Roaming\LogOM\config.xml *** [Function: DeserializeConfig] System.Runtime.Serialization.SerializationException: Il flusso binario '0' non contiene un BinaryHeader valido. Ciò può essere dovuto a un flusso non valido o a una modifica della versione dell'oggetto tra la serializzazione e la deserializzazione.
in System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
in System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
in System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
in LogOM.BL.FileManagement.DeserializeConfig(String fileName)
2019-08-04 09:10:19.5634 ERROR: * FileManagement: CONFIG load error *** [Function: LoadConfig] System.Runtime.Serialization.SerializationException: Il flusso binario '0' non contiene un BinaryHeader valido. Ciò può essere dovuto a un flusso non valido o a una modifica della versione dell'oggetto tra la serializzazione e la deserializzazione.
in System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
in System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
in System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
in LogOM.BL.FileManagement.DeserializeConfig(String fileName)
in LogOM.BL.FileManagement.LoadConfig()

Can anyone help me in fixing?
Thank's in advance and 73

David, IK7HTB

User avatar
IW3HMH
Site Admin
Posts: 2378
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Configuration missing

Post by IW3HMH » 05 Aug 2019, 19:11

Seems an issue on config save, that cannot be loaded back next time you open. Please after closing Log4OM check for errors and send me the relevant part of the issue. Log you sent is getting the problems caused by previous erroneous save
Daniele Pistollato - IW3HMH

Post Reply