The following error can occur during a Business Adapter import when attempting to allocate a device to a license.
Error Message
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_SoftwareLicenseAllocation_ComplianceComputer".
The conflict occurred in database "<DB Name>", table "dbo.ComplianceComputer_MT".
The statement has been terminated.
It typically indicates a mismatch or missing data in the referenced tables.
The error occurs because either the device (ComplianceComputer) or the license (SoftwareLicense) being referenced does not exist in the database at the time of the insert.
You can resolve this error using one of the following methods:
Option 1: Validate source data
- Confirm that the ComplianceComputerID and SoftwareLicenseID values in the source file are valid and already exist in the FlexNet Manager Suite database.
Option 2: Use linked objects instead of IDs
- Instead of inserting
ComplianceComputerIDorSoftwareLicenseIDdirectly into the Software Allocation object: - Use the Computer and Software License objects in the Business Adapter to retrieve the IDs.
- Link those objects to the Software Allocation mapping.
- This ensures both objects are matched and validated before the allocation is created or updated.
Related Articles
Business adapter creating/updating SAPSystem records with a NULL SAPSystemLandscapeID fails with error: "The INSERT statem… 3Number of Views CreateVDIUserConnections writer step may fail with error: The INSERT statement conflicted with the FOREIGN KEY constraint … 5Number of Views Import writers step "Syncs the reconcile staging tables to main tables" step may fail with error: 'The INSERT statement co… 10Number of Views License reconciliation failure: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_SoftwareLicenseGroupPo… 5Number of Views Error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_AccessedSoftwareOccurrence_AccessedSoftware" 8Number 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago