I have an issue where attempting to delete a row from a table generates this error.
Error Code: 80004005
Message: The key cannot be deleted. The key to be deleted is already deleted from an index by another concurrent session.
Minor Err.: 25161
Source: SQL Server Compact ADO.NET Data Provider
This may be related to a duplicate primary key entry in the database, yes I said duplicate primary key. This is a known issue with certain builds of Sql Compact. Does anyone know how I might be able to delete this row? There is no other session with the database nor is there a 'cascade on delete' for the index.
File Version: 4.0.8876.1