Some users may experience issues accessing the case portal. For more information, please click here.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Known Issue: "WriteFileEvidence - Insert unmatched evidence" import writer may fail due to NewFileEvidence_MT.FileEvidenceID identity column value reaching limit of 2^31 (IOJ-2082391)

Known Issue: "WriteFileEvidence - Insert unmatched evidence" import writer may fail due to NewFileEvidence_MT.FileEvidenceID identity column value reaching limit of 2^31 (IOJ-2082391)

Summary

On FlexNet Manager Suite systems where a large volume of unique filenames have been imported, the “WriteFileEvidence - Insert unmatched evidence” inventory writer step may fail due to the FileEvidenceID identity column in the NewFileEvidence_MT table in the compliance database growing too large and running out of available values.

Details

When this issue occurs, inventory imports are likely to fail with an error similar to the following:

2019-11-15 06:57:00,735 [INFO ] WriteFileEvidence - Insert unmatched evidence
2019-11-15 07:00:24,730 [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
Error: Arithmetic overflow error converting IDENTITY to data type int.
Arithmetic overflow occurred.

The following SQL query can be executed against the compliance database to identify the current identity value in the NewFileEvidence_MT table:

SELECT IDENT_CURRENT('dbo.NewFileEvidence_MT') AS CurrentIdentity

This issue is likely to occur if the value returned by this query is at or near 2,147,483,647 (being the maximum value that can be stored in a SQL Server INT value).

Mitigation

A SQL script that can be used to reseed and reclaim identity values in the NewFileEvidence_MT table can be found attached to the solution marked in the following Flexera Community forum discussion: Failed to execute writer 'WriteFileEvidence - Insert unmatched evidence'.

Related issue

Also see the following issue which can result in the same symptoms as this issue, but with a different root cause: FileEvidenceFile.FileEvidenceFileID 32 bit INT identity column in compliance database may run out of values, causing "WriteFileEvidence - Insert unmatched evidence" import writer to fail (IOJ-1898355).

Fix status

This issue is still open but not currently scheduled to be addressed.

Other information

Affected components: Database, Inventory import (read/write/export)

Master issue ID: IOJ-2082391

Also known as: FNMS-69165

Labels (1)
Was this article helpful? Yes No

Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.

No ratings
Version history
Last update:
‎Jan 06, 2023 01:27 PM
Updated by: