SAP Agent wont start: Err. Message: side-by-side configuration is incorrect.

Document ID : KB000089610
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
SAP Agent wont start: Err. Message: side-by-side configuration is incorrect.
Resolution:

Symptoms

Environment: Any supported Window OS with Microsoft Visual C++ 2010 Redistributable Package

SAP Agent does not come up with error message: The application has failed to start because its side-by-side configuration is incorrect.


Error Message in Agent Logfile: java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: [path to SAP agent]\bin\sapjco3.dll: The application has failed to start because its side-by-side configuration is incorrect.


Cause

The V10 Agent for SAP needs Microsoft Visual C++ 2010 Redistributable Package to run.

The Java Connector for SAP does need an earlier version of Microsoft Visual Redistributable Package - pls see SAP NOTE 684106


Resolution

The Agent starts successfully after an additional installation of  Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package

Conclusion:

For SAP Agent using Java connector you need:
Microsoft Visual C++ 2005 (Service Pack 1) Redistributable Package
Microsoft Visual C++ 2010 Redistributable Package