cancel
Showing results for 
Search instead for 
Did you mean: 

SNC Library path for .NET Application through RFC Connections

Former Member
0 Kudos

Hi Everyone,

I am new to devloping applications to connect with SAP.

We are trying to connect a .net application to a SAP Server. We were able to connect using RFC Connections without using SNC.

When we tried to connect to the server using SNC(SNCMyname, SNCPartnerName, SNCQop  mentioned), we get an error saying

Unable to load GSS-API DLL named "sncgss32.dll"

The SAP Server is using Common Crypto Library. We downloaded the CommonCryptoLibrary SAR File and extracted it.

We mentioned SAPLibrarypath pointing to sapcrypto.dll from the downloaded library.

But we still get the error and now the error says sapcrypto.dll is not a valid win32 application.

I have gone throught some of the posts in the internet but everyone are talking about pointing the sncgss32.dll in the c:\windows\system32 folder.

But we want to connect to SAP Server without having to install SAP GUI.

Can anyone here let me know the steps to connect to sap server using SNC?

Many Thanks,

Yvonne

Accepted Solutions (1)

Accepted Solutions (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Yvonne,

don't put sapcrypto.dll to the system32 directory. Further, you need to make sure to use the correct version of the DLL that is fitting to the NCo version in use by you. If you are using a 64bit NCo, you need to use a 64bit sapcrypto library(x86_64/amd64), when using the 32bit variant you need to use the 32bit sapcrypto dll (x86).

Best regards,

Markus

P.S.: You asked the very same question already. You should not open multiple threads for the exactly same topic.

Former Member
0 Kudos

Hi Markus,

Thank you so much.

I will try this.

Regards,

Yvonne

Answers (0)