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

Code generation Error

1 Answer 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Winfield Moses
Top achievements
Rank 1
Winfield Moses asked on 03 Nov 2009, 08:04 PM
Hi, I am receiving an error I have never seen before.

My setup is:
XP
VS2008 Pro
Current (as of a week or two ago) of OA

Evey thing was working fine when I suddenly started receiving the following error:

Code generation for property 'Baskets' failed. Error was: 'Type 'psDataEntities.Basket' in Assemby 'psDataEntities, Version = 1.0.0.0, Culture=beutral, PublicKeyToken=null' is not marked as serializable

It occurs when I try to close and save a form in the designer.  THe form has a lot of User Controls that have bound data.  The GUI is in a separate project that references the data layer.  I don't think I have modified the data layer in some time.  I was only working on the GUI.  It is an old project and I wasn't doing anything that should, at least in theory, affect the data layer.

Has anyone eer seen this?  Anybody have any thoughts?




1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 06 Nov 2009, 02:12 PM
Hello Winfield Moses,

This exception does not tell too much of the situation to our team. Can you give us some more information about the scenario in which you are getting it?
 It would be very nice if you could sent us a stack trace so we have a real overview of where the exception actually occurs.

Greetings,
Zoran
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Winfield Moses
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or