Problem with updating a instance

Thread is closed for posting
2 posts, 1 answers
  1. Christian
    Christian avatar
    81 posts
    Member since:
    Aug 2008

    Posted 19 Jan 2009 Link to this post


    in a complex data model I have one class with problems to update a instance. There is no problem to insert a new instance. But when I try to update a string property in the class I get an error message, that a active transaction is necessary. The instance has the value '-1' for OpenAccessEnhancedFlags and the value  '{SM@34684851 696865275-1 cacheKey: CacheEntryBase@18 oid 696865275-1 inProcessList: False' for OpenAccessEnhancedStateManager. All other classes in my model works fine.

    Thanks in advance for any hint.
  2. Answer
    Jan Blessenohl
    Jan Blessenohl avatar
    707 posts

    Posted 19 Jan 2009 Link to this post

    Hi Christian,
    Did you check if there is really a running transaction?

    You can check it by checking: scope.Transaction.Level == 1

    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top