Error in VS: does not implement IXMLSerializable interface

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

Error in VS: does not implement IXMLSerializable interface

Post by Mike Jones » Wed Jun 17, 2009 3:47 pm

Using TeeChart.dll version 3.5.3425.20244
Visual Studio 2005

Created a new Windows Forms project
Added a TeeChart Controller control to Form1
Added a TeeChart control to Form1, set its Dock property = Top
Right click on the Chart and select Edit
Added a Line Series to the chart
Go to the Series | General Tab and clear the check box Show in Legend
Go to the Chart | 3D tab and clear the 3D check box
Go to Series | Data tab and select Data Source tab, select Random from the drop down box, leave the default # points as 25
Press the Apply button
Close the Chart Editor
Select the Chart Controller and set its Chart property to the chart control tchart1

Close the form1 tab in VS, and get the error dialog that says
"Type System.Drawing.Color, System.Drawing, Version 2.0.0 , Culture=neutral, PublicKeyToken='b03f5f7f11d50a3a' does not implement IXMLSerilizable interface therefore can not proceed with serialization"

This error will pop up regularly as I continue to work in VS

Seems like a bug.

Found some more information. Since we own the source code as well, found this same error when I added the source to my project

Code: Select all


In Steema.TeeChart.Styles.Series

internal string SetSeriesData(DataSet data)
		{
			string result = null;
			if (manualData)
			{
				MemoryStream stream = new MemoryStream();
#if POCKET2003 
				System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(stream, System.Text.Encoding.Default);
				data.WriteXml(writer, System.Data.XmlWriteMode.WriteSchema);    // <- EXCEPTION OCCURS HERE!!!!!!! 
				writer.Flush();
				result = Convert.ToBase64String(stream.ToArray(), 0, Convert.ToInt32(stream.Length));
#else
				data.WriteXml(stream);
				result = Convert.ToBase64String(stream.ToArray());
#endif

			}
			return result;
		}

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Error in VS: does not implement IXMLSerializable interface

Post by Sandra » Thu Jun 18, 2009 8:28 am

Hello Mike Jones,

This problem is the same that explain here. Please check that it is the link works in your application.


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply