cancel
Showing results for 
Search instead for 
Did you mean: 

SNC connection with SAP .net connector 2.0 via RFC

Former Member
0 Kudos

We are trying to make a connection from an application hosted on a windows server to SAP R/3 system via RFC with SNC enabled via the SAP .Net Connector 2.0.

We are using the users MYSAPSSO2 ticket and the SNC sapcryto.dll.

We are passing the following info to the R/3 server:

Destination.AppServerHost = "R/3 server name"

Destination.SystemNumber = 00

Destination.Client = 900

Destination.SNCLib = "C:\SAPCrypto\ntintel\sapcrypto.dll"

Destination.SNCMode = True

Destination.SNCQop = 9

Destination.SNCPartnerName = "p:CN=R/3 SNC name, OU=Production,O=ACCENTURE,C=US"

Destination.SNCMyName = ""

We are receiving the following error message.

Connect_PM GWHOST=mycompany.com, GWSERV=sapgw00, ASHOST=R/3 server name, SYSNR=00

LOCATION CPIC (TCP/IP) on local host

ERROR SNCERR_GSSAPI

An operation failed at the GSS-API level

sec_avail="false"

TIME Tue May 22 13:18:38 2007

RELEASE 640

COMPONENT SNC (Secure Network Communication)

VERSION 5

RC -4

MODULE sncxx.c

DETAIL SncInit

COUNTER 2

: SAP.Connector.RfcCommunicationException

ANy help will be greatly appreciated.

thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The driver appears to be fine for this. We were able to resolve the error by ensuring the SAP user ID had the correct credentials.

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Good !

So this question is answered ?

Best regards,

Andre

Answers (2)

Answers (2)

Former Member
0 Kudos

helen,

I am facing the same issue as yours. How did you resolve this. I highly appreciate your help on this.

Thanks

Kiran

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Helen,

you are using the wrong DLL to achieve SSO between a windows frontend and an SAP System that itself must also run on a windows server.

Please see the SAP Online Help for more details:

http://help.sap.com/saphelp_nw2004s/helpdata/en/44/0ebf6c9b2b0d1ae10000000a114a6b/frameset.htm

Best regards,

André