When you create a company by using Microsoft Dynamics GP Utilities, you may receive the following error message:
Violation of PRIMARY KEY constraint 'PKSY60100'. Cannot insert duplicate key in object 'dbo.SY60100'.
Additionally, you may receive the following error message in the Dexsql.log file:/*
BEGIN
DECLARE @stored_proc_name char(34)
DECLARE @retstat int
DECLARE @param2 int
set nocount on
SELECT @stored_proc_name = 'Database_name.dbo.smGrantAccessForDboAndSa'
EXEC @retstat = @stored_proc_name Number, @param2 OUT SELECT @retstat, @param2 set nocount on
END
/* [Microsoft][SQL Native Client][SQL Server]Violation of PRIMARY KEY constraint 'PKSY60100'. Cannot insert duplicate key in object 'dbo.SY60100'.*/
/* [Microsoft][SQL Native Client][SQL Server]The statement has been terminated.*/
BEGIN
DECLARE @stored_proc_name char(34)
DECLARE @retstat int
DECLARE @param2 int
set nocount on
SELECT @stored_proc_name = 'Database_name.dbo.smGrantAccessForDboAndSa'
EXEC @retstat = @stored_proc_name Number, @param2 OUT SELECT @retstat, @param2 set nocount on
END
/* [Microsoft][SQL Native Client][SQL Server]Violation of PRIMARY KEY constraint 'PKSY60100'. Cannot insert duplicate key in object 'dbo.SY60100'.*/
/* [Microsoft][SQL Native Client][SQL Server]The statement has been terminated.*/