cancel
Showing results for 
Search instead for 
Did you mean: 

sapgenpse command Failed

0 Kudos

Dear All

We are facing the below error when we are executing sapgenpse get_my_name  -n all command.

ERROR in windows_loadlib(): LoadLibrary("D:\usr\sap\saprouter\sapcrypto.dll") FAILED: (0x000000c1) = "%1 is not a valid Win32 application."


The sapcrypto.dll file is physically present in the above location.


I have checked the environment variables SNC_LIB and SECUDIR

SNC_LIB: D:\usr\sap\saprouter

SECUDIR: D:\usr\sap\saprouter\sapcrypto.dll


We are able to connect to SAP from outside successfully but when we try using OSS1 t code, it is giving out a error message saying SNC Processing Failed.

Kindly Help me out.

Thank You

Murthy

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member207186
Contributor
0 Kudos

Hi,

You can check SAP KBA 1468665 and also ensure that correct sapcrypto/sapgenpse version is used.

Regards,

Bíborka

Former Member
0 Kudos

Hi Murthy,

It seems that the sapcrypto library you're using is not ment for WINDOWS 32 bit version i.e. the wrong SAPCRYPTO.dll is being used in the SNC configuration.

Check the sap note

1815712 - Error 193 ="<INSTALDRIVE>:\sapcrypto\sapcrypto.dll is not a valid Win32 application in CMC...

Regards,

Prithviraj.

former_member182657
Active Contributor
0 Kudos

Hi,


ERROR in windows_loadlib(): LoadLibrary("D:\usr\sap\saprouter\sapcrypto.dll") FAILED: (0x000000c1) = "%1 is not a valid Win32 application."

Hope you followed SAP KBA  1627668 - Error 193 in trace file for SNC connectivity


Regards,

former_member185239
Active Contributor
0 Kudos

Hi Murthy ,

You need to downlaod the sapcrytolib.sar file which is suported for 32 bits.

With Regards

Ashutosh Chaturvedi

Sriram2009
Active Contributor
0 Kudos

Hi Murthy

You can generate the PSE file using sapgenpse 32bit instead of 64 bit

BR

SS

0 Kudos

Hi Sriram

Could you guide me How to proceed about this

Thanks

Murthy

Sriram2009
Active Contributor
former_member185954
Active Contributor
0 Kudos

Hello Murthy,

Have you changed your kernel or any executable recently?

Regards,

Siddhesh

0 Kudos

Hi Siddesh

No, We haven't made any changes recently

Thank You

Murthy

former_member185954
Active Contributor
0 Kudos

Hello Murthy,

Did you patch/upgrade your OS ?

Regards,

Siddhesh

0 Kudos

Hi Siddesh

No we haven't made any changes to the OS.

Thank You

Murthy

former_member185954
Active Contributor
0 Kudos

Hello Murthy,

Has this command worked in the past ?

Or are you installing saprouter for the first time (I should have asked this before).

Regards,

siddhesh