Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is a concurrency violation.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
0
0
US
An unhandled exception of type 'System.Data.DBConcurrencyException' occurred in system.data.dll

Additional information: Concurrency violation: the UpdateCommand affected 0 records.
 
I think the concurrency violation means that the records are currently being updated already or that they have an exclusive lock on them. One time I found that while connecting to an Access database on a Win2000 local machine; that this error was given falsely. After I compacted and repaired the database in access, the error was gone. I kind of think that .NET is a little buggy, but check to make sure another command isn't updating the same records.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top