A new Flexera Community experience is coming on November 25th. Click here for more information.

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

MGSImportRecognition.exe execution Failure - Invalid Option

Hi Team,

I have faced an issue after upgrading to2020 R2 trying to run MgsImpotRecognition.exe. The Issues be like

C:\Program Files (x86)\Flexera Software\FlexNet Manager Platform\DotNet\bin>MgsImportRecognition.exe -dl D:\Temp\ARL
[2021-08-09 17:51:11,711] [ERROR] 'D:\Temp\ARL' is not a valid option. Import aborted.

C:\Program Files (x86)\Flexera Software\FlexNet Manager Platform\DotNet\bin>MgsImportRecognition.exe -i D:\Temp\ARL
[2021-08-09 17:56:54,836] [ERROR] 'D:\Temp\ARL' is not a valid option. Import aborted.

 

Can you specify which option is required for mentioning file path?

 

Thanks and Regards

Kasinath K

(2) Replies

MgsImportRecognition.exe -i D:\Temp\ARL " File path should be replaced with Filepath\RecognitionAfter82.cab and -i is an Invalid option, -ia is for importing ARL and -is is for importing SKU/PURL -ie is for importing EOSL

But -dl should be the valid option for downloading the ARL content. It is now showing Invalid Option. Please suggest me to overcome this.

ChrisG
By Community Manager Community Manager
Community Manager

The command line arguments you have here are not correct arguments for MgsImportRecognition.exe:

  • No further arguments are required after the "-dl" command line option.
  • "-i" is not a valid command line option.

You can execute "MgsImportRecognition.exe -h" to see the following usage information:

Usage: MgsImportRecognition.exe [-u <username> -p <password>]
[-pu <username> -pp <password>]
[-ps <proxy server>:<port>]
[-ia <localARLFilePath> -is <localSKUFilePath> -ie <localEOSLFilePath>]
[-dl]
[-g <groupDatabaseName>]
[-ne]
[-c]
[-h]

Options:
-u Username for downloading recognition, SKU and EOSL data
-p Password for downloading recognition, SKU and EOSL data
-pu Proxy username for downloading recognition, SKU and EOSL data
-pp Proxy password for downloading recognition, SKU and EOSL data
-ps Proxy server for downloading recognition, SKU and EOSL data
-ia Import recognition data from local file
-is Import SKU data from local file
-ie Import EOSL data from local file
-dl Download recognition, SKU and EOSL data. Do not load data into database.
-g The group database to update. Must be specified in a multi-database setup.
-ne Do not extract local files. Only applicable for options -ia, -is, -ie and -dl.
-c Cleanup extracted files only.
-h Show usage

Examples:
---------

Import recognition, SKU and EOSL data:
MgsImportRecognition.exe

Configure credentials for downloading recognition, SKU and EOSL data
MgsImportRecognition.exe -u myUsername -p myPassword

Configure proxy credentials for downloading recognition, SKU and EOSL data
MgsImportRecognition.exe -pu myUsername -pp myPassword

Configure proxy server for downloading recognition, SKU and EOSL data
MgsImportRecognition.exe -ps ProxyServerName:Port

Import recognition, SKU and EOSL data from a local cab file
MgsImportRecognition.exe -ia localARLFilePath -is localSKUFilePath -ie localEOSLFilePath

Download recognition, SKU and EOSL data to a location
MgsImportRecognition.exe -dl downloadLocation

(Note that there appears to be a typo in the final example using the -dl option: the information earlier in this usage message indicating that no argument needs to be specified after the -dl option is correct.)

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)