Summary
This KB article addresses the following error which may appear in the recognition.log file when running the ARL update:
2023-11-20 01:14:39,879 [ft.Recognition.Program] [FATAL] An unhandled exception occurred. System.Exception: Error running command: sqlcmd.exe -S server-name -d FNMSCompliance -b -i "C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\.temp-extract\ARLCreateTables120.sql" -E ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
Symptoms
Your ARL update fails and you find the logging similar to the following in the recognition.log file (usually found in C:\ProgramData\Flexera Software\Compliance\Logging\Content, or the service account's %TEMP% directory in releases prior to 2018 R2):
2023-11-20 01:14:39,744 [ecognition.Recognition] [INFO ] Executing SQL file C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\.temp-extract\ARLCreateTables120.sql 2023-11-20 01:14:39,854 [ecognition.Recognition] [INFO ] Executing command: -S server-name -d FNMSCompliance -b -i "C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\.temp-extract\ARLCreateTables120.sql" -E 2023-11-20 01:14:39,879 [ft.Recognition.Program] [FATAL] An unhandled exception occurred. System.Exception: Error running command: sqlcmd.exe -S server-name -d FNMSCompliance -b -i "C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\.temp-extract\ARLCreateTables120.sql" -E ---> System.ComponentModel.Win32Exception: The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at ManageSoft.Recognition.Recognition.ExecuteCommand(String command, String commandParams, String[] argumentsForSanitization)
Cause
This error means that either sqlcmd.exe file is missing or is not set in the PATH environment variable.
Resolution
Install Microsoft sqlcmd utility, and ensure sqlcmd.exe is available in the system PATH.
Note that the ODBC-based sqlcmd must be used; the go-based sqlcmd described on that page cannot be used with FlexNet Manager Suite.
Additional information
Older versions of SQL Management Tools includes sqlcmd.exe as part of the install. However SQL Management Tools 18.x and later no longer includes the file, making it necessary to install it separately.
If an older version of SQL Management Tools is installed and the PATH environment variable is not set automatically (due to User Account Control), the following steps may need to be done to set the PATH.
If the path for sqlcmd.exe was not set in the PATH variable, use the method below:
- Ensure sqlcmd.exe is installed, and locate it on the filesystem
- If UAC is enabled and prohibits setting system environment variables, turn UAC off and then reboot
- Start a cmd window with local administrator rights
- Add the path of sqlcmd.exe to the system PATH environment variable:
setx PATH "<directory containing sqlcmd.exe>" /M
- UAC can now be turned back on if required
The PATH should now be set and the ARL update should no longer produce the error covered by this article.
A common location where sqlcmd.exe can be found is: C:\Program Files\Microsoft SQL Server\<version-number>\Tools\Binn
If multiple versions of sqlcmd.exe are installed, the system PATH environment variable should be configured so that the directory containing the most recent ODBC-based version of sqlcmd.exe appears before any directories containing other versions.
Was this helpful?
Related Articles
"Get Azure VM Instances" Azure import reader step may fail with error: "Could not load file or assembly '[...]' or one of … 10Number of Views 'The system cannot find the file specified' error when performing Remote Execution/Zero-Touch Inventory 8Number of Views Adoption not working with 'The system cannot find the file specified' error is the beacon and target adoption machine are … 13Number of Views Could not open configuration file C: Program Files (x86)\\<vendorName>lmadmin/conf/httpd.conf: The system cannot find the … 6Number of Views Known Issue: "Get Azure VM Instances" Azure import reader step may fail with error: "Could not load file or assembly '[...… 14Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
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. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago