Possible concurrency issue encountered


Author
Message
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I get this error message on a BO.Save() call.  Can you give me some additional info as to what could be causing this or what it actually means?   


Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
It means that the business object is trying to save a record that has been saved by someone else recently.  It's used for detecting concurrency issues (when userA and userB both check out a record and modify it and they both try to save it at the same time). 

So, that's normal in a networked application scenario, but if it's happening all the time on one of your business objects, then the UpdateConcurrencyType might need to be changed to Off or OptimisticRowVersion if it's set on OptimisticAllFields.  The exception being throw contains properties that show the row causing the data collision.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search