by R32 on Fri Apr 14, 2006 1:44 am
I'm using xlobby dated April 04, 2006 and it does create a xnetflix.xml inside the xnetflix plugin folder but it does not contain any data, a zero byte file. I can manually create a file in the databases folder without any problem but the plugin does not create any file in that directory. I get the following error message everytime:
************** Exception Text **************
System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidCastException: Unable to cast object of type 'XNetflix.NetflixEntity' to type 'XNetflix.NetflixEntity'.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterNetflixEntity.Write5_XNetflix(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, XmlSerializerNamespaces namespaces)
at XNetflix.Utilities.SerializeObject(String filename, Object obj, Type type)
at XNetflix.ConfigForm.WriteConfigFile()
at XNetflix.ConfigForm.btnSave_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I've also tried removing all plugins except for xnetflix and still the same problem. Any ideas?
Thanks!