cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Connector For .NET-- SNC Library path

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 (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Any suggestion or comment is really appreciated!

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Yvonne,

please make sure that yóu have installed all libraries needed for the sapcrypto lib. E.g. the Visual Studio runtime. Furthermore, ensure that you use a 32bit variant, when using NCo in the 32bit variant, and also 64bit, if NCo is 64bit.

Best regards,

Markus