cancel
Showing results for 
Search instead for 
Did you mean: 

SAP .NET Connector Problems

Former Member
0 Kudos

I am new to SAP and I am trying to get the SAP .NET Connector to work. I tried running the samples by changing the connection string to point to our SAP installation. Everytime I run the samples, I get the following error:

<i>An unhandled exception of type 'SAP.Connector.RfcCommunicationException' occurred in sap.connector.dll

Additional information: Connect to SAP gateway failed

Connect_PM GWHOST=pe-cs-dev1.pe.spx.com, GWSERV=sapgw03, ASHOST=pe-cs-dev1.pe.spx.com, SYSNR=03

LOCATION CPIC (TCP/IP) on local host

ERROR partner not reached (host pe-cs-dev1.pe.spx.com, service 3303)

TIME Thu Dec 07 08:22:36 2006

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -10

MODULE nixxi_r.cpp

LINE 8716

DETAIL NiPConnect2

SYSTEM CALL SiPeekPendConn

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connectio</i>

I have the SAP GUI installed and it works fine. I am using my user ID and password in the connection string.

Please help!

Thanks,

Geoie

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Geoie,

How are you doing ?

gateway issue checks :-

1> port 3303 [in your case] on your ststem is not blocked by any firewall

2> port 3303 has an active listner [check to see if the service is running], you can check within the sap system

SAP Gateway management :

http://help.sap.com/saphelp_nw04/helpdata/en/4c/16c4b18a0d40c1be3b7839f884e1e2/frameset.htm

3> the TCP port 3303 [sapgw03 TCP port] listed in the Windows 'services' file.

usually in the [Root]:\WINDOWS\system32\drivers\etc folder of the sap host

once these are verified, your host will be listening, if required we can later check for client side problems ...

with respect,

amit