bstauff/SqlDataProtectionProvider

occasional issues on key (0)

Closed this issue · 1 comments

Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__KeyData__3214EC07D9D277E9'. Cannot insert duplicate key in object 'dbo.KeyData'. The duplicate key value is (0)

  • looks like multiple applications are all writing to key id 0

I haven't seen this in the latest releases