首页 > 数据库 >Installation requirements for SAP Kernels on Windows (C++ runtime environment, VCredist versions)

Installation requirements for SAP Kernels on Windows (C++ runtime environment, VCredist versions)

时间:2024-04-27 17:01:29浏览次数:16  
标签:Kernels SAP requirements x64 C++ installation VCredist runtime

 

 

Symptom

在Windows执行StartSAP, 报错信息

找不到指定的模块:

"The program can't start because msvcr100.dll is missing from your computer."

"无法启动此程序,因为计算机中丢失了msvcr100.dll。尝试重新安装该程序以解决此问题。"

 

Other Terms

C, C++, runtime, VCredist, MSVCP100.dll, MSVCR100.dll, MSVCP120.DLL, MSVCR120.DLL, MSVCP140.DLL, MSVCR140.DLL, VCRUNTIME140.dll, RC 3010, restart pending

Reason and Prerequisites

Each SAP kernel has program dependencies on the Microsoft C/C++-runtime. Since the C/C++-runtime is not part of Windows and the SAP Kernel, the C/C++ Runtime (VCredist) must be installed before an SAP system can be started. Otherwise, you will get an error message similar to:
This application has failed to start because <Runtime DLL> was not found. Re-installing the application may fix this problem.

The C/C++ Runtime for Windows is delivered by Microsoft via the VCredist. There are several versions for the different Visual Studio compilers (for example 2005, 2010, 2012, 2013, 2015, 2017, 2019, 2022). The C/C++ is backwards compatible since Visual Studio 2015. This means, for example, VCredist 2022 is sufficient to run applications that were built with Visual Studio 2015.

As of SWPM 1.0 SP34, SAP no longer delivers any VCredist versions that are no longer in maintenance by the manufacturer Microsoft. SAP cannot therefore assume maintenance responsibility for these 3rd party components. To date, this affects VCredist 2005 and 2010. As a result, a manual subsequent installation of the VCredist files by the customer may be required during the installation of SAP kernels that are based on these specified versions.

==老应出品 ==

Solution

The SAP installation and upgrade tools (SWPM, SUM) normally install the required Microsoft C/C++-runtime. This is not the case for old/unsupported C/C++-Runtimes. Also, for manual Kernel updates where you download an SAP Kernel as SAPEXE.sar archive from https://support.sap.com/swdc this is not the case. Here, you must install the C/C++-runtime manually. We strongly recommend to use always the most current version of the C/C++-runtime packages from Microsoft as described in this blog post (https://blogs.sap.com/2017/06/13/c-runtimes-needed-to-run-sap-executables/).

SAP builds the different SAP Kernel releases with different Visual Studio versions. For this reason, different C/C++ runtimes are required. The table below outlines which VCredist must be installed.

722_EXT

VCredist 2010 x64**

722_EX2

VCredist 2013 x64

722_EX3

VCredist 2022 x64*

753

VCredist 2013 x64

754

VCredist 2022 x64*

777

VCredist 2022 x64*

785

VCredist 2022 x64*

789

VCredist 2022 x64*

793

VCredist 2022 x64*

* Since VCredist 2015 the C/C++-Runtime is backwards compatible. This means the SAP Kernel may also be executable with an older C/C++ Runtime library.

** VCredist 2005 and 2010 are out of maintenance. SAP internal processes forbid the distribution of third-party software that is out of maintenance from the respective manufacturer. In case you want to install an SAP system with SAP Kernel 722 or 722_EXT you must manually provide the C/C++ Runtime. Where applicable, SAP recommends using 722_EX2 instead.

After the installation has finished successfully, the operating system contains the required C/C++-runtime.

Under certain circumstances the “Updating system DLLs” SWPM step can yield a warning that the VCredist installation finished with a return code 3010. This means that the C/C++ Runtime was installed but to finalize the installation, a reboot of the host is necessary.

SAP recommends rebooting the machine before resuming the installation procedure. Otherwise, the installation may fail because the C/C++ Runtime DLL’s may not be available or outdated Runtime components are used.

Please note that an operapable SAP System also contains additional components (for example the SAP Host Agent) that may require additional versions of VCredist.

 

标签:Kernels,SAP,requirements,x64,C++,installation,VCredist,runtime
From: https://www.cnblogs.com/weikui/p/18162237

相关文章