Symptoms
The “Remove local installer evidence linked to Flexera installer evidence” import writer step fails with either of the following errors:
Error: The DELETE statement conflicted with the REFERENCE constraint "FK_IBMLicenseServiceProductData_InstallerEvidenceID_MT". The conflict occurred in database "FNMP182", table "dbo.IBMLicenseServiceProductData_MT".
Or:
Error: The DELETE statement conflicted with the REFERENCE constraint "FK_IBMLicenseServiceBundledProductData_InstallerEvidenceID_MT". The conflict occurred in database "FNMP3", table "dbo.IBMLicenseServiceBundledProductData_MT".
Details
This issue may occur after importing data from IBM License Service, if evidence imported from that service is subsequently added to the application recognition library (ARL) that is published by Flexera.
Mitigation
This mitigation can be applied to FlexNet Manager Suite 2022 R1 (on premises) deployments.
Open the C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Writer\InstallerEvidence.xml file on the batch server in a text editor.
Add the following SQL query content before the line “DELETE ie FROM InstallerEvidence_T ie" (line 574) in the writer named “Remove local installer evidence linked to Flexera installer evidence”:
UPDATE bpd SET InstallerEvidenceID = NULL, SoftwareTitleID = NULL FROM dbo.IBMLicenseServiceBundledProductData bpd WHERE EXISTS ( SELECT 'x' FROM #InstallerEvidenceToDelete d WHERE d.InstallerEvidenceID = bpd.InstallerEvidenceID ) PRINT N'Updated ' + CAST(@@ROWCOUNT AS nvarchar(255)) + N' IBM License Service bundled product consumption rows where installer evidence is being removed.' UPDATE pd SET InstallerEvidenceID = NULL, SoftwareTitleID = NULL FROM dbo.IBMLicenseServiceProductData pd WHERE EXISTS ( SELECT 'x' FROM #InstallerEvidenceToDelete d WHERE d.InstallerEvidenceID = pd.InstallerEvidenceID ) PRINT N'Updated ' + CAST(@@ROWCOUNT AS nvarchar(255)) + N' IBM License Service product consumption rows where installer evidence is being removed.'
Related Articles
What data does the FlexNet inventory agent gather as file and installer evidence? 142Number of Views Managing Oracle Universal Installer (OUI) evidence gathered by the FlexNet inventory agent 142Number of Views Import from Tanium may fail with error: "Could not find intermediate file for procedure Evidence, step 119 with name 'Get … 15Number of Views Get an application's install location from installer evidence 21Number of Views Create local file evidence in Flexera One ITAM or FlexNet Manager Suite 57Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago