Issue Upgrading from Cireson Portal v7.2 to v7.3
2017-02-03 11:55:29 AM Failed to Deploy DacPac via DacServices API: server=cd9999-d106;Trusted_Connection=True; Could not deploy package.
Error SQL72014: .Net SqlClient Data Provider: Msg 1505, Level 16, State 1, Line 1 The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.Access_CI$User_RequestOffering' and the index name 'PK_Access_User_RequestOffering'. The duplicate key value is (f23b6f99-2c90-2772-33f8-81e460d58871, 1a307cd4-7c8f-f6d4-8c85-00b9343c947d).
Error SQL72045: Script execution error. The executed script:
ALTER TABLE [dbo].[Access_CI$User_RequestOffering]
ADD CONSTRAINT [PK_Access_User_RequestOffering] PRIMARY KEY CLUSTERED ([UserId] ASC, [RequestOfferingId] ASC);
Anyone else getting any issues like this?
Best Answer
-
Jonathan_Boles Customer Ninja IT Monkey ✭✭✭✭It turns out that if this error is encounted the table needs to be truncated:
TRUNCATE TABLE Access_CI$User_RequestOffering
and then re-running the installer.1
Answers
TRUNCATE TABLE Access_CI$User_RequestOffering
and then re-running the installer.