Summary
Usage MMI files that contain "?" characters in application details that are gathered while metering application usage may fail to be successfully imported.
Details
Here is an example of usage MMI file content illustrating this issue:
<USAGE VERSION="1.00" USAGEAGENT="16.0.1"> <MD NAME="wkstn102" DOMAIN="acme.corp" GUID="" AGENTID="663483a5fe351782daf7d190a0f54d565b112c098bfb56fa9a7d9b2553aaf465"> <USAGE USER="Vivek" DOMAIN="ACME" TYPE="WeeklySummary" STARTDATE="20211011T000000" GUID=""> <APPUSAGE NAME="??????? ???3.0" VERSION="8.3.0.9617" FILENAME="PinyinUp.exe" FILECOMPANY="Sogou.com Inc." FILEDESCRIPTION="??????? ??????" FILEPRODUCTNAME="???????" FILEPRODUCTVERSION="8.3.0.9617" FILEVERSION="8.3.0.9617" LONG_FILENAME="C:\Program Files (x86)\SogouInput\8.3.0.9617\PinyinUp.exe" TOTALRUNTIME="241" TOTALACTIVE="0" SESSIONS="1" DAYS="1"/> </USAGE> </MD> </USAGE>
mgsimport.exe will output details like the following when attempting to import files which contain data like this which cannot be handled due to this issue:
EXCEPTION: -------------------- System.ArgumentException: parsing "/\A0*???3.0/" - Nested quantifier ?. 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)
Files which fail to be imported because of this will be placed in the usage "BadLogs" folder on the inventory server of a FlexNet Manager Suite On-premises system.
Related information
Also see the following known issue which can result in the usage MMI files being generated that trigger this issue: Used application details may be represented as "????" in usage MMI files if application details contains multi-byte Unicode characters (IOJ-2227649)
Related Articles
Usage .mmi files may fail to import if any software names end with a digit or special character and contain a "\" after th… 4Number of Views SWACC inventory files containing Client Access License (CAL) access detail may fail to be processed with error: "Invalid l… 14Number of Views Application usage metering using the FlexNet inventory agent 193Number of Views FlexNet agent (ndtrack) may trigger a security software warning due to PowerShell script execution containing unusual char… 78Number of Views Import from Tanium may fail with error: "Could not find intermediate file for procedure Evidence, step 119 with name 'Get … 8Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago