equest action: executeddlcommands Message: Executing DDL commands failed. Cause: Error (SQL State: 23000, Error Code: 2627) on executing: INSERT INTO [systemcbattributesequences] ([sequencename], [tablename], [columnname], [currentvalue]) VALUES ('system$filedocumentfileidmxseq', 'system$filedocument', 'fileid', 0);[columnname], [currentvalue]) VALUES ('system$filedocumentfileidmxseq', 'system$filedocument', 'fileid', 0); All changes are rolled back. at A.a(SourceFile:88) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PKsystemc2DEB503419AACF41'. Cannot insert duplicate key in object 'dbo.systemcb_attributesequences'. Not sure what is meant or how to fix this???
asked
Christopher Hodges
2 answers
0
Hi
This error is caused when you are inserting a value into a key constraint column with the same value.
answered
Michael Visser
0
If you can reproduce this situation then please file a ticket in our support portal at https://support.mendix.com/
This is an error in a system table containing sequence information and you cannot affect this yourself unless you have been changing your database manually.