Tuesday, August 25, 2009

SAP executables will fail to run because of Microsoft ATL Patch.

Background information: A recent security update of Microsoft`s ATL(Active Template Library) resulted in an updated Visual Studio and an updated c-runtime. All SAP executables(sapstart.exe, sapstartsrv.exe, etc...) made with that updated c-runtime will require this updated c-runtime installed on the customers system. Therefore every SAP customer running Windows is need to apply the Microsoft security patch.

Detecting whether an SAP system will not start up due to missing MS patch: Described below are steps that will indicate if a customer is affected by the missing Microsoft security patch.

Try to execute a SAP binary (like sapntchk.exe) on the customers system.
You can do this in two ways.

1) If you started the executable from the command prompt and get the following message,

“The system cannot execute the specified program”



have a look at the event viewer.
To do this either type eventvwr into your command prompt, or Start->Settings->Control Panel->Administrative Tools->Event Viewer.
Continue with section “Event Viewer analysis”.


2) If you double-clicked the executable within Microsoft`s file explorer and you get the following error with pop-up:

E:\patch_test\sapntchk.exe
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem




have a look at the event viewer.
To do this either type eventvwr into your command prompt, or Start->Settings->Control Panel->Administrative Tools->Event Viewer.
Continue with section “Event Viewer analysis”.

Event Viewer analysis:

In the tree display click the System entry like shown below.



Now scan the list on the right side and search for the source "SideBySide" like below:



Now click on these events and check for one of the following messages:



General Activation Context failed for E:\patch_test\sapntchk.exe.
Reference error message: The referenced assembly is not installed on your system




Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.



Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system



Solution: In case you encountered any of the above described indicators you must apply the Microsoft security patch. To do this, go to the following page (also described in SAP note 1375494)

http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx

On the page go the “Affected Software” part. Select Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package(KB973544).



Depending on the system platform (32 / 64 bit Intel architecture or Itanium architecture) select one of the packages as shown below in the section “Files in This Download”.



If your system is an Itanium system, download vcredist_IA64.exe.

If your system is a 32 bit Intel system, download vcredist_x86.exe.

If your system is a 64 bit Intel system and is running a 64bit SAP kernel, download vcredist_x64.exe.

If the your system is a 32bit Intel system and is running a 32bit SAP
Kernel, download vcredist_x32.exe.

When the respective package has been downloaded, execute the package by double clicking it.


After the installation is done, you should be able to execute those SAP binaries which may have failed due to the missing Microsoft security patch.

In case you run any other software (e.g. third party software used by SAP) you may need to apply Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package, as well.

1 comment:

  1. Check it out for detail ;

    http://sapbasisinfo.com/blog/2014/03/01/some-important-sap-executables/

    ReplyDelete