Extension upgrade fails with FOREIGN KEY constraint "FK_MAEnforcementStatus_EPOProductProperties"
Last Modified: 2021-06-03 14:09:14 Etc/GMT
Affected Products
Languages:
This article is available in the following languages:
Trellix CEO, Bryan Palma, explains the critical need for security that’s always learning.
As per Gartner, "XDR is an emerging technology that can offer improved threat prevention, detection and response."
Trellix announced the establishment of the Trellix Advanced Research Center to advance global threat intelligence.
Trellix Advanced Research Center analyzes threat data on ransomware, nation-states, sectors, vectors, LotL, MITRE ATT&CK techniques, and emails.
After December 1, 2024, please log in to the Thrive Portal for support, knowledge articles, tools, and downloads. For information about using the Thrive Portal, view the Trellix Thrive Portal User Guide.
Extension upgrade fails with FOREIGN KEY constraint "FK_MAEnforcementStatus_EPOProductProperties"
Technical Articles ID:
KB93049
Last Modified: 2021-06-03 14:09:14 Etc/GMT Environment
McAfee Agent (MA) 5.7.0 - 5.7.2, 5.6.2 - 5.6.6
Problem
You are unable to upgrade the MA Extension. The file records the following errors: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_MAEnforcementStatus_EPOProductProperties". The conflict occurred in database "ePO_INHYSZSVAV001", table "dbo.EPOProductPropertiesMT", column 'AutoID'.Caused by: D:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\extensions\installed\EPOAGENTMETA\5.6.5.102\install.xml:414: java.sql.SQLException: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_MAEnforcementStatus_EPOProductProperties". The conflict occurred in database "ePO_INHYSZSVAV001", table "dbo.EPOProductPropertiesMT", column 'AutoID'. at com.mcafee.orion.core.ext.tasks.SqlTask.execute(SqlTask.java:78) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor1349.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) ... 87 moreCaused by: java.sql.SQLException: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_MAEnforcementStatus_EPOProductProperties". EPO console. Cause
The value of the Foreign key Any value present in the table generates an error in the Solution
This issue is resolved in McAfee Agent 5.7.3. This version is available from either the ePO Software Manager or the Product Downloads site. NOTE: You need a valid Grant Number to access the update. To view other known and resolved issues, see KB93773 - Trellix Agent 5.7.x Known Issues. Workaround
If you see the error above when you check in the McAfee Agent 5.7.x extension:
If this solution or workaround does not resolve your issue, log on to the ServicePortal and create a Service Request. Include this article number in the Problem Description field.
Affected ProductsLanguages:This article is available in the following languages: |
|