When using a proxy server in your environment, you typically configure this in Internet Explorer (IE). The mgsimportrecognition.exe tool uses the IE settings. However, there are cases where you might not be able to use the proxy in IE, such as when another application won't work through the proxy.
If this is the case, you will need to manually enter the proxy server using the -ps switch in mgsimportrecognition.exe. For example:
mgsimportrecognition.exe -ps <ProxyServer>:<ProxyPort> -pu <ProxyUsername> -pp <ProxyPassword>
The proxy username and password may not be required, depending on your configuration. Once the command has been run once with the -ps, -pu, and -pp switches, it should save the configuration so that next time it works by just running the executable.
The configuration settings are saved in the following registry key:
KEY_LOCAL_MACHINE\SOFTWARE\ManageSoft Corp\ManageSoft\Compliance\CurrentVersion
If you are running a 64-bit version of Windows, the registry key is:
KEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ManageSoft Corp\ManageSoft\Compliance\CurrentVersion
If you are unsure about or need to know the proxy username or port previously configured in IE for the content libraries, you can use the following short script in an administrative PowerShell session:
netsh winhttp show proxy
$client = new-object System.Net.WebClient
$client.Proxy.GetProxy("https://")
Common error
You may receive the following error:
[ERROR] System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Net.WebProxy.CreateProxyUri(String address)
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentUtilities.ProxyFromComplianceConf()
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.get_Downloader()
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.Run(EARLImportMode mode, String groupName)
at ManageSoft.Compliance.Console.RecognitionImportTool.ImportRecognition()
2023-03-08 11:22:15,188 [.RecognitionImportTool] [ERROR] Invalid URI: The hostname could not be parsed.
This error can be resolved by configuring your proxy within RegEdit. The correct format should resemble the following:
http://proxy.example.com:port
Related Articles
Beacons configured to use a proxy with Internet Explorer proxy settings may fail to download policy after upgrading to ver… 11Number of Views Several PowerShell-based inventory adapters fail to use configured web proxy details 16Number of Views Fatal exception during ARL import with enabled FIPS-related policies and use of proxy credentials 5Number of Views How to configure the FlexNet Code Insight Electronic Update to use the Proxy server settings 3Number of Views How to enable Inventory Manager Web Application Tracker without click "Enable" button on the pop-up "The 'Inventory Manage… 17Number 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