
davidle asked a question.
Hello.
We recently discovered that the Reconciliation Jobs has not been able to finish over the last two days.
Within the importer.log file, we have discovered the following error message:
2021-05-12 13:26:52,944 [INFO ] Failed to execute Writer 'WriteFileEvidence - Insert unmatched evidence' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Writer\FileEvidence.xml, at step line 108
2021-05-12 13:26:52,960 [ERROR] System.Data.SqlClient.SqlException (0x80131904): Arithmetic overflow error converting IDENTITY to data type int.
Arithmetic overflow occurred.
Is there a way to determine which database table that is causing the Write to Fail on Execution?
The NewFileEvidence_MT table stores all file evidence which has been added to FNMS which is not part of the Flexera Application Recognition Library. Reseeding this table to use negative values is incorrect as negative values are used for file evidence which is part of the Flexera ARL.
The correct solution is to use the attached script, which reseeds the table, and then deletes and reinserts all of the records so that the numbering is restarted at 1.
It is not normal for an implementation of FNMS to exceed the number of possible values in the NewFileEvidence_MT table. An investigation should be performed to identify where this excessive amount of file evidence is coming from. We have seen before that gathering inventory using the Flexera Agent on Linux machines can result in excessive file evidence. This is especially apparent if the Docker containers, print servers, or email servers are being inventoried as a large quantity of temporary files will be reported by the agent.
NewFileEvidence_MT reseed