Skip to Content

SAP Connector For .NET-- SNC Library path

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 08, 2016 at 06:10 AM

    Any suggestion or comment is really appreciated!

    Add comment
    10|10000 characters needed characters exceeded

    • 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