Discovery processes that run mgsipscan.exe on beacons may fail due to a missing a dependency on msvcr120.dll from the x86 (32 bit) Visual C++ Redistributable Package for Visual Studio 2013.
If the Visual C++ Redistributable Package for Visual Studio 2013 is not installed, attempts to run <Beacon install directory>\RemoteExecution\MgsIPScan\mgsipscan.exe processes will fail. Logging similar to the following will appear in the discovery.log file associated with the discovery process:
2022-06-29 12:02:04,798 [iscovery.NMapDiscovery|IPScan] [INFO ] Command line for mgsipScan: -p T:80,443,U:80,443 -oX "C:\Users\svc-flexnet\AppData\Local\Temp\ManageSoft\discovery\mgsipscan-t-2022629_1224-496b4d6c2d-a88e-4e5f-83a4-8bbdb4240dc5.xml" -Pn -sS -sU 192.186.1.0-255 2022-06-29 12:02:04,813 [iscoveryActionExecuter|Async] [INFO ] Enumerating devices from store after DNS lookup 2022-06-29 12:02:04,813 [iscoveryActionExecuter|Async] [INFO ] Completed enumeration of devices from store after DNS lookup 2022-06-29 12:02:05,001 [iscovery.NMapDiscovery|IPScan] [ERROR] MgsIPScan exited with error -1073741515 2022-06-29 12:02:05,001 [ource.NMapDeviceSource|IPScan] [ERROR] Failed to perform an IP scan. System.IO.FileNotFoundException: Could not find file 'C:\Users\svc-flexnet\AppData\Local\Temp\ManageSoft\discovery\mgsipscan-t-2022629_1224-496b4d6c2d-a88e-4e5f-83a4-8bbdb4240dc5.xml'.
Attempting to run mgsipscan.exe directly from a command shell window will fail with an error dialog showing a message like the following (exact wording may vary based on the operating system version):
The program can't start cause MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.
This issue affects the following beacon versions: 18.0 (2022 R1) to 18.2 (2022 R1.2), and 18.4 (2022 R1.4) to 18.7 (2022 R1.7).
This issue has been fixed in the following FlexNet Manager Suite releases: 2022 R2 (On Premises), 2022 R2 / Nov 2022 (Cloud)
Affected components: Component installers, Discovery, Inventory Beacon
Master issue ID: IOK-752777
Also known as: FNML-76659
Jul 12, 2022 02:30 AM - edited Nov 20, 2023 01:31 PM
Thanks Flexera for taking my solution & highlighting this known issue.