Out of Sync error using adapter when reading field of entity

Posts   
 
    
G.I.
User
Posts: 172
Joined: 09-Jun-2005
# Posted on: 06-Dec-2005 08:33:06   

Hi,

I receive this error message:

The entity is out of sync with its data in the database. Refetch this entity before using this in-memory instance. STACKTRACE: at SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.GetCurrentFieldValue(Int32 fieldIndex) at Evatic.LLBLGen.Pro.EntityClasses.SymptomCodeEntity.get_Description()

Now have I been searching on the forum, but all I can find about out of sync problems is with saving an entity, but that's not what I am trying to do. I am just fetching an entity and reading a field value from this entity. It does not even happen every time. So my question is what can be the problem here.

I have no problem doing the same thing at other places in my application, so it must be something specifically wrong here.

Can someone give me some pointers about what to look at?

Gr.,

Robin

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 06-Dec-2005 14:42:09   

please refer to the following thread (please check the last question on this thread): http://www.sd.nl/TinyForum/Messages.aspx?ThreadID=3210

And if it didn't help you, please get back to us. It would be easier for us if you send us a complete Stack Trace and code snippet of what you were trying to do.

Thanks and good luck