This is a migrated thread and some comments may be shown as answers.

error while binding objects to report

1 Answer 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anas
Top achievements
Rank 1
Anas asked on 12 Nov 2012, 05:08 AM
Error while binding data to report please advice


System.Runtime.Serialization.SerializationException: Type 'Town' in Assembly 'TatweerSoftware.VRMS.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5e0dfe44adc215e3' is not marked as serializable.    at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)     at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)     at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()     at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)     at System.Runtime.Seri... d0b58231-3f7b-497d-b345-8c234ffdb3e8

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Nov 2012, 12:25 PM
Hello Anas,

The provided strack trace does not contain any reference to Telerik, so we would appreciate if you elaborate on your setup. You can try binding another data bound control to your data and if you receive the same exception, then clearly the problem is with your data.

Regards,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Anas
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or