Summary
This article will how to solve the issue FOREIGN KEY constraint "FK_InstalledSoftwareData_ComplianceComputer" , you may hit during the FNMP product running Reconcile import.Symptoms
A Reconcile (Update inventory for reconciliation) import may run into failure with following error messageApplicationCompletion
"Failed to execute Writer 'ApplicationCompletion' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Writer\InstalledSoftware.xml
Error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_InstalledSoftwareData_ComplianceComputer". The conflict occurred in database "FNMSCompliance", table "dbo.ComplianceComputer_MT". "
Cause
This is very likely a one off transient error, caused by a computer getting removed at a key step in the writers during importResolution
Please have another import to run and make sure no other operators process , in particular removing any computers, the issue should not be recurred.Workaround
Have another import to run and make sure no other operators process , in particular removing any computers, the issue should not be recurred.Additional Information
-- Details logging looks like below:2015-09-15 14:01:43,423 [INFO ] ApplicationCompletion
2015-09-15 14:04:19,216 [INFO ] Failed to execute Writer 'ApplicationCompletion' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Writer\InstalledSoftware.xml
Error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_InstalledSoftwareData_ComplianceComputer". The conflict occurred in database "FNMSCompliance", table "dbo.ComplianceComputer_MT".
Warning: Null value is eliminated by an aggregate or other SET operation.
Updated 0 Installed Applications that have changed in the source database connections.
Installed Application: Updated 0 Installed Applications that have changed in the source database connections.
The statement has been terminated.
Added 0 new Installed Applications from the source database connections.
Installed Application: Added 0 new Installed Applications from the source database connections.
Inserted 0 related installed software records
Updated 4636 application record actions
2015-09-15 14:04:19,216 [INFO ] All retries have been attempted for Writer 'ApplicationCompletion'
2015-09-15 14:04:19,325 [ERROR] System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_InstalledSoftwareData_ComplianceComputer". The conflict occurred in database "FNMSCompliance", table "dbo.ComplianceComputer_MT".
Warning: Null value is eliminated by an aggregate or other SET operation.
Updated 0 Installed Applications that have changed in the source database connections.
Installed Application: Updated 0 Installed Applications that have changed in the source database connections.
The statement has been terminated.
Added 0 new Installed Applications from the source database connections.
Installed Application: Added 0 new Installed Applications from the source database connections.
Inserted 0 related installed software records
Updated 4636 application record actions
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at ManageSoft.Compliance.Importer.Logic.XML.Writer.Execute(IExecutionContext context)
at ManageSoft.Compliance.Importer.Logic.ComplianceImporter.ExecuteWriters(ComplianceReader p_ComplianceReader, IExecutionContext context, String singleConnectionIdentifier)
ClientConnectionId:2a238b1d-377d-4d04-b533-7f24ef5ea0be
Error Number:547,State:0,Class:16
2015-09-15 14:04:20,091 [INFO ] Completed with error in 2 minutes, 36 seconds
Was this helpful?
Related Articles
WriteRemoteFileEvidenceMatchCounts import writer step may fail with error: Failed to import inventory devices with error m… 5Number of Views CreateVDIUserConnections writer step may fail with error: The INSERT statement conflicted with the FOREIGN KEY constraint … 5Number of Views RemoveMissingComputersAndAssociatedProperties writer may fail with error: 'The DELETE statement conflicted with the FOREIG… 4Number of Views License reconciliation failure: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_SoftwareLicenseGroupPo… 5Number of Views WriteInstalledFileEvidenceAttribute inventory writer step may fail with error: The MERGE statement conflicted with the FOR… 4Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
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. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago