Summary
The inventory import process may fail at the InsertIntoTempApplicationFile step when reading inventory data from SCCM with logging similar to the following:
2016-04-07 21:52:36,150 [INFO ] Importing from 'JTSMS' [type: SMS] (primary connection) [...] 2016-04-07 21:52:56,073 [INFO ] InsertIntoTempApplicationFile (Transfer from FNMP to source 'JTSMS') 2016-04-07 21:52:58,491 [INFO ] Failed to execute Reader 'InsertIntoTempApplicationFile' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\sms\FileEvidence.xml Error: The locale id '1033' of the source column 'FileName' and the locale id '1041' of the destination column 'FileName' do not match.
This occurs if the collation settings on columns in the SCCM database are different from the default database collation.
Workaround
Edit and modify the following file on the FlexNet Manager Suite batch server: C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\sms\FileEvidence.xml
Find the InsertIntoTempApplicationFile reader in this file.
The default query for this reader looks similar to the following (exact details may vary based on your version of FlexNet Manager Suite):
DECLARE @EscapeChar nchar(1) SET @EscapeChar = '\' SELECT CASE WHEN CHARINDEX('%', fe.FileName) <> 0 THEN 1 ELSE 0 END AS HasWildcards, FileName = REPLACE(REPLACE(REPLACE(REPLACE(fe.FileName, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']'), FileVersion = REPLACE(REPLACE(REPLACE(REPLACE(fe.FileVersion, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']'), Company = REPLACE(REPLACE(REPLACE(REPLACE(fe.Company, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']'), Description = REPLACE(REPLACE(REPLACE(REPLACE(fe.Description, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']') FROM dbo.FileEvidence AS fe WHERE fe.FileEvidenceID IN (SELECT FileEvidenceID FROM dbo.SoftwareTitleFileEvidence AS stfe)
Add the clause COLLATE database_default to the relevant column in the SELECT statement that is identified in the error message. For example:
DECLARE @EscapeChar nchar(1) SET @EscapeChar = '\' SELECT CASE WHEN CHARINDEX('%', fe.FileName) <> 0 THEN 1 ELSE 0 END AS HasWildcards, FileName = REPLACE(REPLACE(REPLACE(REPLACE(fe.FileName, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']') COLLATE database_default, FileVersion = REPLACE(REPLACE(REPLACE(REPLACE(fe.FileVersion, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']'), Company = REPLACE(REPLACE(REPLACE(REPLACE(fe.Company, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']'), Description = REPLACE(REPLACE(REPLACE(REPLACE(fe.Description, @EscapeChar, @EscapeChar + @EscapeChar), '_', @EscapeChar + '_'), '[', @EscapeChar + '['), ']', @EscapeChar + ']') FROM dbo.FileEvidence AS fe WHERE fe.FileEvidenceID IN (SELECT FileEvidenceID FROM dbo.SoftwareTitleFileEvidence AS stfe)
Fix status
There are no plans to address this issue.
Other information
Affected components: Integration: SCCM, Inventory import (read/write/export)
Master issue ID: IOJ-1758508
Also known as: FNMS-32402
Related Articles
Reading data from SCCM may fail at InsertIntoTempApplicationFile step when SCCM import is run on the application and serve… 4Number of Views Devices deleted from SCCM may not be deleted in FlexNet Manager Suite when the connection to SCCM is configured on the app… 4Number of Views Known Issue: Devices deleted from SCCM may not be deleted in FlexNet Manager Suite when the connection to SCCM is configur… 9Number of Views Different App-V installer evidence may be imported from SCCM each time an import is run 4Number of Views Importing inventory from SCCM when SCCM has been customized to gather SQL Server edition information may cause temp databa… 4Number 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