cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error message Cannot insert duplicate key in SQL Server

On an agent handler, in server_XXXXXXX.log, I see this error Microsoft SQL Server Native Client 11.0, desc=Violation of PRIMARY KEY constraint 'PK_ComputerProperties'. Cannot insert duplicate key in object 'dbo.EPOComputerPropertiesMT'. The duplicate key value is (533)., msg=IDispatch error #3092 It seems that this problem is described in KB92709 and the technical support can provide the query to clean this duplicated key in SQL server. Thank you very much for your help
1 Reply
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: Error message Cannot insert duplicate key in SQL Server

That is a different table in that KB and any query for that would not be applicable to your error.  This is kb Cannot insert duplicate key in object 'dbo.EPOEventsReference

You probably need to find what key value 533 is.  Run the following query -

select * from epocomputerpropertiesmt where id=533

 

 

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community