cancel
Showing results for 
Search instead for 
Did you mean: 

getting the error while connection to SAP Server

Former Member
0 Kudos

Hi,

I am getting the below mentioned error while connection to SAP Sever using SAP.Net Connector. What could be the possible reason?

"<i>

<b>Connect to SAP gateway failed
Connect_PM  GWHOST=ia2-ms.boi.hp.com, GWSERV=sapgw01, ASHOST=ia2-ms.boi.hp.com, SYSNR=01

LOCATION    CPIC (TCP/IP) on local host
ERROR       partner not reached (host 15.78.80.31, service 3301)

TIME        Fri Feb 02 11:10:35 2007
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: Connection refused
COUNTER</b>

</i>"

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

The gateway monitor is used to analyze and administer the SAP Gateway from outside the SAP System. The profile you assign to it must be the same as for the gateway. This process has different names:

UNIX: gwmon

Windows: gwmon.exe

more on this.. please go thru ..

http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/9f13c24b9b11d189750000e8322d00/frameset.htm

hope this info helps!

with regards,

raj.

<i>pls, award points</i>

Former Member
0 Kudos

Hi Raj,

Thanks a lot for quick reply but i really didn't understand what i need to do to resolve this problem.

The userid and password is provided to me by the SAP team that i have to use in my code to connect to SAP System rfc.

Can u pls suggest me, how to go about this.

Former Member
0 Kudos

Hi Narendra,

check "gwrd" process is being executed (using taskmanager).

try pinging that IP address from your server using t-code "OS01" > "specific IP address".

In case, you are unable to reach that IP, then check the parameters you have specified .. for more details go thru this link.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/21/c6a73860bf5f2ce10000009b38f8cf/content.htm

with Best regards,

Raj.

<b><i>pls, award points</i></b>

Former Member
0 Kudos

Hi Raj,

i check using taskmanager > gwrd process is not running at all. What shd i do to run that and how does it related to the connection. I am getting the error which says "Connection to Gateway is failed".

Regards,

+Naren

Former Member
0 Kudos

Hi

execute this " <b>gwrd -force pf=<profile>"</b> @ command prompt.

and then re-try connecting to the server.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/9f13c24b9b11d189750000e8322d00/frameset.htm

good luck!

with br,

raj.

<i>pls, award points</i>

Former Member
0 Kudos

Hi Rajesh,

Thanks a lot for ur time. I am able to connect through the "SAPLOGON.INI based Logon Settings"

Thanks & Regards,

+Naren