Exception occurred. Error #-2147217873 (80040e2f) Violation of PRIMARY KEY constraint 'PK_UP_Agents'. Cannot insert duplicate key in object

(Last modified: 14Nov2005)

This document (10094985) is provided subject to the disclaimer at the end of this document.

fact

Microsoft Windows Server 2003 Standard Edition

Novell ZENworks 6.5 Patch Management

Patchlink Server 6.00.52

Patchlink Client 6.00.52

Microsoft Windows Server 2003 Enterprise Edition

symptom

Exception occurred. Error #-2147217873 (80040e2f) Violation of PRIMARY KEY constraint 'PK_UP_Agents'. Cannot insert duplicate key in object 'UP_Agents'

Correct license of nodes is showing up, but Agent Registration Code = -1

Not getting packages from update server

Server unable to register with the http://novell.patchlink.com/update portal.

Packages and reports showing a status of "false" on the subscription page

fix

Steps to fix:

  1. Open services.msc and stop Patchlink Update service
  2. Open regedit and go HKLM\SOFTWARE\PATCHLINK.COM\GRAVITIX\SUBAGENT key and rename the SUBAGENT key
  3. Start the Patchlink Update service again
  4. Go back into web interface -> Options -> Support tab and select the Re-Register button.
  5. If you get an error message saying "... @job ..." click the OK button and click the Re-register button again.
  6. Open regedit and go HKLM\SOFTWARE\PATCHLINK.COM\GRAVITIX\SUBAGENT. Check the value called "InstallText" and see what the value is equal to. It should be "Success".

note

Exception occurred. Error #-2147217873 (80040e2f) Violation of PRIMARY KEY constraint 'PK_UP_Agents'. Cannot insert duplicate key in object 'UP_Agents'. (Source: Microsoft OLE DB Provider for SQL Server) (SQLState: 23000) (NativeError: 2627) Error #-2147217873 (80040e2f) The statement has been terminated. (Source: Microsoft OLE DB Provider for SQL Server) (SQL State: 01000) (NativeError: 3621)

document

Document Title: Exception occurred. Error #-2147217873 (80040e2f) Violation of PRIMARY KEY constraint 'PK_UP_Agents'. Cannot insert duplicate key in object 'UP_Agents'
Document ID: 10094985
Solution ID: NOVL99264
Creation Date: 12Oct2004
Modified Date: 14Nov2005
Novell Product Class:Management Products

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.