This project has moved and is read-only. For the latest updates, please go here.
1
Vote

magtools inventory logger error login/login

description

System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidCastException: [A]System.Collections.Generic.List1[Mag.Shared.MyWorldObject] cannot be cast to [B]System.Collections.Generic.List1[Mag.Shared.MyWorldObject]. Type A originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Type B originates from 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write3_ArrayOfMyWorldObject(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o)
at MagTools.Inventory.InventoryLogger.DumpInventoryToFile(Boolean requestIdsIfItemDoesntHave)
at MagTools.Inventory.InventoryLogger.CharacterFilter_Logoff(Object sender, LogoffEventArgs e)

comments