KB-1967 rotatelogs.exe error on Tomcat startup
Symptoms
When starting Tomcat via start-appserver.bat on Windows, the startup fails with a rotatelogs.exe system error:
The program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this problem.

Cause
vcruntime140.dll could not be found on the Tomcat server. By default, this file exists in the C:/Windows/System32 directory.
This file is used by rotatelogs.exe to manage the rotation of Tomcat log files.
Action
Download and install the 64 bit Visual C++ Redistributable for Visual Studio 2015 via Microsoft on the affected Tomcat server. This installation will automatically place vcruntime140.dll in the appropriate directory to be found by Windows.
Affected Versions
This article applies to Appian 18.3 and later on Windows.
Last Reviewed: July 2019
