NCO3 client with SSO connection
i have successfully used nco3 as client (.net framework 3.5 / VS 2008) with an application server connection.
I tried several ways to connect with SncMode="1" without luck. But if I use the NCO2 it works. From the NCO2 I looked at the connectionstring and use the parameters:
p[RfcConfigParameters.AppServerHost] = "r3-pq1"; p[RfcConfigParameters.SystemNumber] = "1"; p[RfcConfigParameters.SncMode] = "1"; p[RfcConfigParameters.SncPartnerName] = "p:<domain>\\<user>"; p[RfcConfigParameters.SncLibraryPath] = "\"C:\\Windows\\system32\\sncgss32.dll\"";
Whith this I get the error message: "Connection refused".
In the CPIC-Trace I see that the used port is "3300". The NCO2 used the port "3301". So I set the parameter GatewayService to "3301" (with this, the port is "3301"). But now I get the error message:
"Could not find a suitable SAP user for the SNC name of the caller".
Is this the wrong way or is there something missing more or is the used scndll not the right one?
Anyone can help me???
Thanks a lot.