The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
Recently, we experienced Inventory import fails after FNMS 2022 R2 upgrade. The errors showing up as below daily during inventory import. Anyone experienced this issue after FNMS 2022 R2 upgrade? I'm sure there is no error showing up in database migration log files when doing database upgrade.
Failed to execute Reader 'ImportUsers' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\\Reader\managesoft\User.xml, at step line 1
Error: The given ColumnMapping does not match up with any column in the source or destination.
Thanks
‎Feb 20, 2023 09:33 AM
I found out the issue. There is User.xml file located on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft. I found that this User.xml is very old and not the same as the one on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\ManageSoft. After removing the User.xml from C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft and manually started up the task "Inventory import and license reconcile" and I don't see Inventory import failure any more. No idea of why we have the very old User.xml file on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft that would cause Import fails after FNMS 2022 R2 upgrade? I saw our PRO FNMS (still in FNMS 2020 R2) has the very old User.xml file on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft, but no Inventory import failure. Still don't understand why? Hope someone can give me explanation. Thanks
‎Feb 22, 2023 12:34 PM
is this happening on production or in Dev env as well.
‎Feb 20, 2023 10:59 PM
@Woo_Lam Did you face any error while upgrading DB?
‎Feb 20, 2023 11:26 PM
No error in upgrading DB
‎Feb 21, 2023 10:55 AM
Happening in DEV environment
‎Feb 21, 2023 10:55 AM
is there any custom rule applied for user import from AD.
‎Feb 21, 2023 09:24 PM
I don't think we have custom rule for user import from AD. I saw AD import showing up as "Reconcile Active Directory data completed" daily
‎Feb 22, 2023 07:45 AM
Upon further investigation, we found a user.xml file in the following directory.
C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft
The main difference is this user.xml file is missing the field for email address which was added in 2022 R2.
Can this additional user.xml file be safely removed?
This exists in dev and prod.
This custom user file does not exist in a fresh install.
‎Feb 22, 2023 09:55 AM
If you remove the user.xml file from "CustomInventory", the original user.xml file should take over.
‎Feb 22, 2023 10:04 AM
As this error seems to appear in the ManageSoft Reader, can you please check if your inventory database (e.g. FNMSInventory) got migrated properly?
USE FNMSInventory
SELECT *
FROM DatabaseConfiguration
WHERE Property = 'SchemaVersion'
‎Feb 22, 2023 03:49 AM
I got this output when running your query on FNMSInventoryDV
Property Value Created LastUpdate
SchemaVersion 19.0 2018-08-20 14:46:52.240 2023-02-09 10:56:01.390
‎Feb 22, 2023 07:40 AM
I found out the issue. There is User.xml file located on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft. I found that this User.xml is very old and not the same as the one on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\ManageSoft. After removing the User.xml from C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft and manually started up the task "Inventory import and license reconcile" and I don't see Inventory import failure any more. No idea of why we have the very old User.xml file on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft that would cause Import fails after FNMS 2022 R2 upgrade? I saw our PRO FNMS (still in FNMS 2020 R2) has the very old User.xml file on C:\ProgramData\Flexera Software\Compliance\ImportProcedures\CustomInventory\Reader\ManageSoft, but no Inventory import failure. Still don't understand why? Hope someone can give me explanation. Thanks
‎Feb 22, 2023 12:34 PM
I just compared the User.xml file in FNMS 2020 R2 with the User.xml file in FNMS 2022 R2. The User.xml files are different. The FNMS 2022 R2 User.xml has one more field (Email nvarchar(200) COLLATE database_default) added. That's why we always got Inventory Import failure.
‎Feb 22, 2023 12:48 PM