Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error upgrading GP10 to SP5 (DU000010)

(0) ShareShare
ReportReport
Posted on by 75

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

  • RE: Error upgrading GP10 to SP5 (DU000010)

    HI Andre,

    Upgrade cases aren't the easiest to troubleshoot over the forums. If you need this resolved ASAP I would recommend opening a support case.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error upgrading GP10 to SP5 (DU000010)

    Hi, I have de same error and I tried the Jonathan suggestion but the error continue.

  • Re: Error upgrading GP10 to SP5 (DU000010)

    I would restored your Dynamics database, uninstall GP and reinstall GP. It sounds like this is bad code and/or there was a problem at the beginning of the upgrade when the DU000010 when the new lines were put into that table.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans