Skip to Content
0

CryptAcquireContext() failure on SAP GUI Uninstall

Oct 20, 2016 at 10:00 PM

122

avatar image

Hello,

I have patched SAP GUI 740 from patch level 1 to patchlevel 10.

But after that i want to reinstall it back to patch level 1, but during uninstall process install wizard crushes with such log entry:

11:11:52 NwSapsEngn  1E  Engine LoadDocuments std failure: CryptAcquireContext() failed. Error message: The keyset is not defined. Error code 0x80090019 (2148073497).

How can i fix it?

Here is full log:

********************************************************************************

Logfile: C:\Program Files\SAP\SapSetup\LOGs\NwSapSetup.log
Started logging: Thu Oct 13 11:11:52 2016
Operating system: Windows XP Professional (Service Pack 2, Build 2600)
Executing user: KuranovDG (Administrator)
Workstation name: PC-80
Windows directory: C:\Windows
Temp directory: C:\Users\KURANO~1\AppData\Local\Temp
Working directory: C:\Windows\system32

Commandline: '"C:\Program Files\SAP\SAPsetup\setup\NwSapSetup.exe" /uninstall /product="SCE+ECL+SAPDTS+KW+GUIISHMED+JNet+NWBCGUI+SAPGUI" /TitleComponent:"SAPGUI" /IgnoreMissingProducts'
Executable: 'C:\Program Files\SAP\SAPsetup\setup\NwSapSetup.exe'
Version: 9.0.68.0
ProcessId: 3012
ThreadId: 4012
Physical memory: 853 MB of 3063 MB free
System Uptime: 0 day, 0:11:13 hours

System libraries information
----------------------------

atl.dll: 3.5.2284.2
comctl32.dll: 5.82.6002.18879
mfc42.dll: 6.6.8064.0
msvcrt.dll: 7.0.6002.18551
oleaut32.dll: 6.0.6002.19216
shell32.dll: 6.0.6002.19322
shlwapi.dll: 6.0.6002.18738
msi.dll: 4.5.6002.19116

SAPSetup libraries information
-------------------------------

NwSapSetupEngine.dll: 9.0.68.0
NwSapSetupATLCommon.dll: 9.0.68.0
NwSapSetupUi.dll: 9.0.68.0
NwSapFeiUt.dll: 9.0.68.0

********************************************************************************


11:11:52 NwSapFeiUt 1 Not running on a terminal server host.
11:11:52 NwSapSetup 1 Running as administrator, not doing LSH
11:11:52 NwSapsAtlC 1 SapSetup ATL Common Library Loaded
11:11:52 NwSapSetUI 1 SapSetup ATL Common Library Loaded
11:11:52 NwSapSetUI 1 SapSetup UI Library Loaded
11:11:52 NwSapsAtlC 1 Successfully constructed UI factory from NwSapSetupUi.dll:createUIInterfaceFactory
11:11:52 NwSapsAtlC 1
11:11:52 NwSapsAtlC 1 UI: Show Splash Screen
11:11:52 NwSapsAtlC 1 Successfully constructed UI factory from NwSapSetupUi.dll:createUIInterfaceFactory
11:11:52 NwSapFeiUt 1 Process SapSmartDel.exe is not running.
11:11:52 NwSapsEngn 1 SapSetup Workstation Engine Library Loaded
11:11:52 NwSapsAtlC 1 Constructing a new UI Manager Object
11:11:52 NwSapsEngn 1 Initializing the Installation Engine
11:11:52 NwSapsEngn 1 Engine: Running in uninstall mode
11:11:52 NwSapsAtlC 1 Going to wait for access to XML files at C:\Program Files\SAP\SAPsetup\Setup
11:11:52 NwSapsAtlC 1 Access to XML files granted to C:\Program Files\SAP\SAPsetup\Setup
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapATL71Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapAXLLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapBiLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapChartOcxWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapEngineeringClientViewer7.0Locale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapGuiLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapGUINWBCLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapGUINWBCWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapGUINWBCWkstaUI.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapGuiWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapGuiWkstaUI.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapIcu_50Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapIshMedLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapJNetLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapKwLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapLibRfc32Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapMFC71Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapMSVCP71Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapMSVCR71Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapNWBC50Locale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapNWBC50Wksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapNWBC50WkstaUI.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapScriptEditorControlsLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapSetupLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapSetupWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapSncClientEncryptionLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapSrxLocale.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapStartWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapVC10RtWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapVC11RtWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapVc8RtWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapWdtLogOcxWksta.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapWkstaSetup.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapWkstaVars.xml added to list
11:11:52 NwSapsAtlC 1 Workstation Database: C:\Program Files\SAP\SAPsetup\Setup\SapWusLocale.xml added to list
11:11:52 NwSapsAtlC 1 Reboot Manager: Evaluated the position of SAPSetup's OnReboot Installation Service as:
Folder 'C:\Program Files\SAP\SapSetup\OnRebootSvc'
Service File Path: 'C:\Program Files\SAP\SapSetup\OnRebootSvc\NWSAPSetupOnRebootInstSvc.exe'
11:11:52 NwSapsAtlC 1 Reading OnReboot Install Service Configuration from 'C:\Program Files\SAP\SapSetup\OnRebootSvc'
11:11:52 NwSapsAtlC 1 Loaded 0 reboot action records, 0 command(s) to execute on-start, 0 file(s) to delete, 0 file(s) to copy, 0 assembly name(s) and 0 command(s) to execute at end
11:11:52 NwSapsEngn 1 Installer Engine initialized successfully
11:11:52 NwSapsEngn 1 Engine: LoadDocuments
11:11:52 NwSapsEngn 1 Workstation Databases to be loaded: 35
11:11:52 NwSapsEngn 1 Server Databases to be loaded: 0
11:11:52 NwSapsAtlC 1 Going to wait for access to XML files at C:\Program Files\SAP\SAPsetup\Setup
11:11:52 NwSapsAtlC 1 Access to XML files granted to C:\Program Files\SAP\SAPsetup\Setup
11:11:52 NwSapsEngn 1E Engine LoadDocuments std failure: CryptAcquireContext() failed. Error message: The keyset is not defined. Error code 0x80090019 (2148073497).
11:11:52 NwSapsEngn 1 Engine: flushing memory
11:11:52 NwSapsAtlC 1 UI-Manager: Flushing memory and resources
11:11:52 NwSapsEngn 1 This Engine Instance lasted 0.310 seconds
11:11:52 NwSapsEngn 1 DM Deleted
11:11:52 NwSapsAtlC 1 UI Manager deleted
11:11:52 NwSapsAtlC 1 DE Deleted
11:11:52 NwSapsAtlC 1 StringTable released
11:11:52 NwSapsEngn 1 Engine Deleted
11:11:52 NwSapsEngn 1 EngineContext released
11:11:52 NwSapsAtlC 1 StringTable released
11:11:52 NwSapsAtlC 1 SapSetup ATL Common Library Unloaded
11:11:52 NwSapsEngn 1 SapSetup Workstation Engine Library Unloaded
11:11:52 NwSapSetup 1 ------------------------------------------------------------
11:11:52 NwSapSetup 1 Return-Code: 70
11:11:52 NwSapSetup 1 ------------------------------------------------------------
11:11:52 NwSapSetUI 1 SapSetup UI Library Unloaded
11:11:52 NwSapsAtlC 1 SapSetup ATL Common Library Unloaded

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Libor Maresch
Apr 12, 2017 at 01:14 PM
0

Hello,

according to the following page https://support.microsoft.com/en-us/help/238187/cryptacquirecontext-use-and-troubleshooting you can try the following:

NTE_KEYSET_NOT_DEF (0x80090019)

  • The Crypto Service Provider (CSP) may not be set up correctly. Use of Regsvr32.exe on CSP DLLs (Rsabase.dll or Rsaenh.dll) may fix the problem, depending on the provider being used.

Best Regards,
LM

Share
10 |10000 characters needed characters left characters exceeded