Page 1 of 1

Serialization error in VS2008 development environment

Posted: Sat Apr 26, 2008 1:19 pm
by 13048887
I have an error which occurs everytime I switch between design and code view in my project. The error repeats 2-3 times and then the VS2008 continues on. The error reported is:

Type 'System.Drawing.Color, System.Drawing, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not
implement IXmlSerializable interface therefore can no proceed with
serialization.

I searched on b03f5f7f11d50a3a in my Solution and found this references several items in the resouces file one example section of code I have included below. No errors occur in my program when I run it. It appears to me that the aspects of my TeeCharts are being automatically serialized when there are changes to the TeeChart properties or tehre is a switch to or from the designer view.

Has anyone else come across this problem? Any assistance is greatly appreciated as I can find nothing on the developer discussions on this particular error.

Thanks
Rob

<data name="FastLinePerson.Colors" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJUZWVDaGFydCwgVmVyc2lvbj0zLjIuMzAxNi4xNTUyMiwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj05YzgxMjYyNzZjNzdiZGI3DAMAAABRU3lzdGVtLkRy
YXdpbmcsIFZlcnNpb249Mi4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNm
NWY3ZjExZDUwYTNhBQEAAAAgU3RlZW1hLlRlZUNoYXJ0LlN0eWxlcy5Db2xvckxpc3QDAAAADUxpc3Rg
MStfaXRlbXMMTGlzdGAxK19zaXplD0xpc3RgMStfdmVyc2lvbgQAABZTeXN0ZW0uRHJhd2luZy5Db2xv
cltdAwAAAAgIAgAAAAkEAAAAGQAAALAFAAAHBAAAAAABAAAAGQAAAAQUU3lzdGVtLkRyYXdpbmcuQ29s
b3IDAAAABfv///8UU3lzdGVtLkRyYXdpbmcuQ29sb3IEAAAABG5hbWUFdmFsdWUKa25vd25Db2xvcgVz
dGF0ZQEAAAAJBwcDAAAACgAAAAAAAAAAAAAAAAH6////+////woAAAAAAAAAAAAAAAAB+f////v///8K
AAAAAAAAAAAAAAAAAfj////7////CgAAAAAAAAAAAAAAAAH3////+////woAAAAAAAAAAAAAAAAB9v//
//v///8KAAAAAAAAAAAAAAAAAfX////7////CgAAAAAAAAAAAAAAAAH0////+////woAAAAAAAAAAAAA
AAAB8/////v///8KAAAAAAAAAAAAAAAAAfL////7////CgAAAAAAAAAAAAAAAAHx////+////woAAAAA
AAAAAAAAAAAB8P////v///8KAAAAAAAAAAAAAAAAAe/////7////CgAAAAAAAAAAAAAAAAHu////+///
/woAAAAAAAAAAAAAAAAB7f////v///8KAAAAAAAAAAAAAAAAAez////7////CgAAAAAAAAAAAAAAAAHr
////+////woAAAAAAAAAAAAAAAAB6v////v///8KAAAAAAAAAAAAAAAAAen////7////CgAAAAAAAAAA
AAAAAAHo////+////woAAAAAAAAAAAAAAAAB5/////v///8KAAAAAAAAAAAAAAAAAeb////7////CgAA
AAAAAAAAAAAAAAHl////+////woAAAAAAAAAAAAAAAAB5P////v///8KAAAAAAAAAAAAAAAAAeP////7
////CgAAAAAAAAAAAAAAAAs=
</value>
</data>

Posted: Mon Apr 28, 2008 8:03 am
by narcis
Hi Innervations,

Could you please let us know the exact steps we should follow or send us a simple example project we can run "as-is" to reproduce the problem here? Which TeeChart version are you using?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Mon Apr 28, 2008 12:43 pm
by 13048887
Hi,

The problem began as soon as I dropped a TeeChart component onto my form. I am using VS2008 and TeeChart .NET Version 3.0. This is a project that I have moved up to from VS2003 and .NET 2.0.

Regards
Rob

Posted: Mon Apr 28, 2008 12:52 pm
by narcis
Hi Rob,

And have you checked that the TeeChart assembly in the VS2008 project has been upgraded to the VS2008 build?

Thanks in advance.