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: 

Summary

Usage data gathered by the FlexNet inventory agent may fail to be recorded in the inventory database and reported in FlexNet Manager Suite if the application package name associated with any metered executable matches both the following conditions:

  • The application package name ends with a digit or one of the following special characters: ()[]._
  • A backslash character ( \ ) appears in the application package name after the last space (if any)

A potential symptom of this issue is that new usage files regularly appear under the C:\ProgramData\Flexera Software\Compliance\Incoming\UsageData\BadLogs directory on the inventory server (FlexNet Manager Suite On-premises edition only).

Details

An example of data usage data appearing in a usage .mmi file generated and uploaded by the agent that will cause this problem is:

<APPUSAGE NAME="Hardcopy (C:\Program Files (x86)\Hardcopy)"  [...]/>

An attempt to process such a .mmi file with the mgsimport.exe tool fails with an error like the following:

Processing file C:\ProgramData\Flexera Software\Incoming\UsageData\dsk123456 at 20210323T000002.mmi.gz:
EXCEPTION:
--------------------
System.ArgumentException: parsing "/\A0*x86\Hardcopy/" - Unrecognized escape sequence \H.
   at System.Text.RegularExpressions.RegexParser.ScanCharEscape()
   at System.Text.RegularExpressions.RegexParser.ScanBasicBackslash()
   at System.Text.RegularExpressions.RegexParser.ScanRegex()
   at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
   at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache)
   at System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern, RegexOptions options)
   at ManageSoft.Usage.Importer.UsageImporter.MungeNameAndVersion(String& ioName, String& ioVersion)
   at ManageSoft.Usage.Importer.UsageImporter.Import(String importType, Stream inputStream, Boolean isGzipped, String sourceIdentifier, String targetFilename, MGSLicenseTermCheckResult licenseTermCheckResult, ImportProcessingStats& stats, IDispatcherPreferences preferences)

Workaround

No effective workaround to this issue is known.

Fix status

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

Other information

Affected components: Uploaded file importers, Usage

Master issue ID: IOJ-2181551

Also known as: ITAM-1306

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