Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

Element (table) size not saved when serialized as binary file

Last post 09-15-2008 12:07 AM by James Westgate. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-11-2008 9:15 PM

    • jchau
    • Top 10 Contributor
    • Joined on 05-23-2007
    • Posts 22

    Element (table) size not saved when serialized as binary file

    When I save my diagram as a binary file and reload it, any custom resizing made by the user is not saved.  For example, I add a table element to my diagram, resize it with mouse, save the diagram as binary, reload it, and the element does not retain the custom resizing.

    • 12.25.73.131
  • 08-12-2008 10:50 PM In reply to

    Re: Element (table) size not saved when serialized as binary file

    What version of the assembly are you using? You can view this by looking at the references of the project and checkingthe properties window.

    • 86.146.159.108
  • 09-12-2008 8:30 PM In reply to

    • jchau
    • Top 10 Contributor
    • Joined on 05-23-2007
    • Posts 22

    Re: Element (table) size not saved when serialized as binary file

    I installed the latest version, and table size are saved for new diagrams.  However, I can no longer load a model with an old binary file.  I am getting the following error:

     System.ArgumentException: Items added to this collection must be of or inherit from type 'Crainiate.ERM4.TableGroup
       at Crainiate.ERM4.Diagram.x16cebda0b690ada5(Stream x84378c276c4cd7e2, IFormatter xb18a47820b01ac5a)
       at Crainiate.ERM4.Diagram.Open(Stream stream, LoadFormat format)

     

    This is a very urgent issue as we have hundreds of old diagrams saved as binary files.

    • 12.25.73.131
  • 09-15-2008 12:07 AM In reply to

    Re: Element (table) size not saved when serialized as binary file

    The .net framework can give problems when deserializing from binary created by a different assembly, however we do have code that should manage this.

    Please could you provide support @ crainiate.net with a copy of a binary file as well as the version with which it was saved.

    • 86.130.61.188
Page 1 of 1 (4 items)