Code generation Error

Thread is closed for posting
2 posts, 0 answers
  1. Winfield Moses
    Winfield Moses avatar
    1 posts
    Member since:
    Oct 2009

    Posted 03 Nov 2009 Link to this post

    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?




  2. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 06 Nov 2009 Link to this post

    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.
Back to Top