The xcomd service fails to start after the install due to VCRUNTIM140.dll not found
search cancel

The xcomd service fails to start after the install due to VCRUNTIM140.dll not found

book

Article ID: 281826

calendar_today

Updated On:

Products

XCOM Data Transport

Issue/Introduction

After installing XCOM r12 for Windows on a Windows 2022 server, the xcomd failed to start. We double clicked on the "caxcgsvr.exe" and received a pop-up window for a System Error, indicating that the VCRUNTIM140.dll was not found. 

 

Environment

XCOM r12.0 for Windows

Cause

When reviewing the xcominstaller.log file it was found that the install had failed due to the MSVC runtime install failure. Here are the messages found:

{mm/dd/2024-14:13:34}Failed to install MSVC 2019 C Runtime with error code: 1. Refer to  %temp%\\xcom_vcredist.txt file for details.

{dd/mm/2024-14:13:39}Failed to install MSVC 2019 C Runtime with error code: 1. Refer to  %temp%\\xcom_vcredist.txt file for details and you may reinstall using D:\Xcomnt\redistrib\vc142crt\vc_redist.x64.exe

Resolution

A clean re-installation of XCOM should take care of the problem, unless there is something on the Windows server preventing the Installer from performing the install of the MSVC runtime. 

Should that fail, then please do the following:

1. Double check if there are some security settings on the Windows server that will prevent the Installer to perform the install

2. XCOM bundles the runtime and it is not required to install it separately, but if there is a problem then it can be executed manually after the install with the following command:

- cd "%XCOM_HOME%\redistrib\vc142crt"
- vc_redist.x64.exe /install /quiet /norestart /log .\xcom_vcredist.txt

This installs in quiet mode without a restart requirement and it will create the specified log, %XCOM_HOME%\redistrib\vc142crt, for review in case of any failure