Dear All,
I am facing problem when upgrading GP10 SP2 to SP5 : MicrosoftDynamicsGP-KB2769078-v10. GP utilities is throwing an error
"Microsoft Dynamics GP Utilities install/Upgrade failed." when it reaches load required data, table DU000010.
DEXSQL.LOG has the following entries
/* Date: 01/16/2013 Time: 0:54:30
stmt(17346688):*/
BULK INSERT [DYNAMICS]..[DU000010_T] FROM 'C:\Program Files (x86)\Microsoft Dynamics\GP\SQL\Temp\DU000010.out' WITH ( CODEPAGE = 'ACP', KEEPNULLS, FIELDTERMINATOR = '||', ROWTERMINATOR = '#EOR#\n')
/*
/* Date: 01/16/2013 Time: 0:54:30
SQLSTATE:(23000) Native Err:(2627) stmt(17346688):*/
[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'PKDU000010_T'. Cannot insert duplicate key in object 'dbo.DU000010_T'. The duplicate key value is (9882, 18).*/
/*
I found a worarround, deleting the 9882 dictionary from DYNAMICS.SET and DYNUTILS.SET, but this dictionary can't be updated.I don't know why dynutils try to insert twice this dictiorany in the table DU000010_T.
Please note we are running on SQL2008 SP2 and curently on GP 10.0.1061.
Has anyone encountered this problem and what is the workaround?
Thanks in anticipation of your help.
Best Regards,
Eduardo
-----------------------------
Full DEXSQL.LOG
/* Date: 01/16/2013 Time: 0:54:30
stmt(17346688):*/
BULK INSERT [DYNAMICS]..[DU000010_T] FROM 'C:\Program Files (x86)\Microsoft Dynamics\GP\SQL\Temp\DU000010.out' WITH ( CODEPAGE = 'ACP', KEEPNULLS, FIELDTERMINATOR = '||', ROWTERMINATOR = '#EOR#\n')
/*
/* Date: 01/16/2013 Time: 0:54:30
SQLSTATE:(23000) Native Err:(2627) stmt(17346688):*/
[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'PKDU000010_T'. Cannot insert duplicate key in object 'dbo.DU000010_T'. The duplicate key value is (9882, 18).*/
/*
/* Date: 01/16/2013 Time: 0:54:30
SQLSTATE:(01000) Native Err:(3621) stmt(17346688):*/
[Microsoft][SQL Server Native Client 10.0][SQL Server]The statement has been terminated.*/
/*
/* Date: 01/16/2013 Time: 0:54:30
SQLSTATE:(00000) Native Err:(3621) stmt(17346688):*/
*/
/*
/* Date: 01/16/2013 Time: 0:54:30
SQLSTATE:(00000) Native Err:(3621) status(54):*/
SWSTATUS DUMP*/
/* Date: 01/16/2013 Time: 0:54:30
stmt(17346688):*/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_SynchronizeTable]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_SynchronizeTable] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_GetTempAndDestColumnInfo]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_GetTempAndDestColumnInfo] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_GetAccountNumberColumnCandidates]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_GetAccountNumberColumnCandidates] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_AccountFieldValue]') and xtype in (N'FN',N'IF',N'TF')) BEGIN drop function [dbo].[duAN_AccountFieldValue] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_AcctSegTrim]') and xtype in (N'FN',N'IF',N'TF')) BEGIN drop function [dbo].[duAN_AcctSegTrim] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_Create_duInserts]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_Create_duInserts] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_GenerateInsertStatement]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_GenerateInsertStatement] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_Execute_duInsertStatement]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_Execute_duInsertStatement] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_GenerateInsert_1]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_GenerateInsert_1] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_GenerateInsert_2]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_GenerateInsert_2] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duCreate_duTempPrimarKeyColumnTable]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duCreate_duTempPrimarKeyColumnTable] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duGetTablePrimaryKeyColumns]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duGetTablePrimaryKeyColumns] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duAN_GenerateJoin]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duAN_GenerateJoin] END if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[duDeleteMatchingRecords]') and OBJECTPROPERTY(id,N'IsProcedure') = 1) BEGIN drop procedure [dbo].[duDeleteMatchingRecords] END
/* Date: 01/16/2013 Time: 0:54:33
stmt(17353736):*/
{CALL ..zDP_duLCKF_1(NULL,NULL,NULL,NULL)}
/*
/* Date: 01/16/2013 Time: 0:54:33
SQLSTATE:(37000) Native Err:(2812) stmt(17353736):*/
[Microsoft][SQL Server Native Client 10.0][SQL Server]Could not find stored procedure 'zDP_duLCKF_1'.*/
/*
/* Date: 01/16/2013 Time: 0:54:34
SQLSTATE:(00000) Native Err:(2812) stmt(17353736):*/
*/
/*
/* Date: 01/16/2013 Time: 0:54:34
SQLSTATE:(00000) Native Err:(2812) status(58):*/
SWSTATUS DUMP*/
/* Date: 01/16/2013 Time: 0:54:34
stmt(17353736):*/
SELECT TOP 25 companyID,INTERID,duWorkstationID,DEX_ROW_ID FROM duLCK ORDER BY companyID ASC ,INTERID ASC
/*
/* Date: 01/16/2013 Time: 0:54:34
SQLSTATE:(S0002) Native Err:(208) stmt(17353736):*/
[Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'duLCK'.*/
/*
/* Date: 01/16/2013 Time: 0:54:34
SQLSTATE:(00000) Native Err:(208) stmt(17353736):*/
*/
/*
/* Date: 01/16/2013 Time: 0:54:34
SQLSTATE:(00000) Native Err:(208) status(56):*/
SWSTATUS DUMP*/
/* Date: 01/16/2013 Time: 0:54:34
stmt(17345768):*/
delete from tempdb..DEX_SESSION where session_id = 41
*This post is locked for comments