After restoring a backup of production in test, I'm not able to create new entities anymore.
The error I get is "Exception when executing non-query: insert into [StatusMapBase]([StatusMapId], [ObjectTypeCode], [OrganizationId], [State], [Status], [IsDefault]) values ('71aefdfe-c43e-e611-80d7-00155d008881', 10113, '8f5c2216-b595-4652-9374-be0dd04de5f0', 0, 1, 1) Exception: System.Data.SqlClient.SqlException (0x80131904): Violation of UNIQUE KEY constraint 'UQ_StatusMap'. Cannot insert duplicate key in object 'dbo.StatusMapBase'. The duplicate key value is (10113, 0, 1)."
The new objecttype code should be 10114, but it looks like 10113 is regenerated again.
Does anyone has a clue on how to solve this issue?
*This post is locked for comments
I have the same question (0)