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.

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

Symptoms

When the date format for the locale of the user running the data warehouse export process is different to the date format for the locale for the data warehouse database, the data warehouse export process may fail.

Logging from the export processes shows output like the following when this occurs:

2020-12-14 13:32:07,207 [INFO ]       Delete Obsolete Snapshot_DIM data
2020-12-14 13:32:07,270 [INFO ]         Failed to execute Exporter 'Delete Obsolete Snapshot_DIM data' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Exporter\fnmpdatawarehouse\AnalyticsDataModel.xml, at step line 9
Error: The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.
The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value.
2020-12-14 13:32:07,270 [INFO ]         All retries have been attempted for Exporter 'Delete Obsolete Snapshot_DIM data'

Reproduction steps

  1. Set the default language of the database user to have a different date format compared to the date format of the user running ComplianceReader.exe. For example, invoke ComplianceReader.exe as a user with the default language US English (mm/dd/yyyy), and the database login using a default language of British English (dd/mm/yyyy).
  2. Run the data warehouse export batch job.

Resolution

A hotfix to resolve this issue is available from the following article: Hotfix for Known Issue: Data Warehouse export fails with error when locale date format differs between the database user & Windows account used for running the export: "The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value" (IOJ-2169655)

Fix status

This issue has been fixed in the following FlexNet Manager Suite releases: 2020 R2.1 / Feb 2021 (Cloud), 2021 R1 (On Premises)

Other information

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

Master issue ID: IOJ-2169655

Also known as: FNML-73830

No ratings
Version history
Last update:
‎Nov 20, 2023 01:28 PM
Updated by:
Knowledge base article header content