cancel
Showing results for 
Search instead for 
Did you mean: 

NCO 3.0 Connection problem

Former Member
0 Kudos

Hello,

Im trying to connect to a SAP server through NCO 3.0 but its giving me the following RfcCommunicationException:

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR hostname 'ROUTER_IP/H/10.1.0.231' unknown

TIME Mon Feb 21 11:53:29 2011

RELEASE 720

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE ninti.c

LINE 895

DETAIL NiPGetHostByName: 'ROUTER_IP/H/10.1.0.231' not found

SYSTEM CALL getaddrinfo

COUNTER 2

I've changed the sap router IP to ROUTER_IP for confidentiality. I have SAP gui installed in the same machine and its able to connect to the server with no trouble.

Anyone has got any idea of what might it be?

Edited by: Marcelo Paez Sequeira on Feb 21, 2011 3:56 PM

Edited by: Marcelo Paez Sequeira on Feb 21, 2011 4:00 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

> DETAIL NiPGetHostByName: 'ROUTER_IP/H/10.1.0.231' not found

The hostname you entered can not be resolved by the system. Add the hostname and IP to the hosts file.

Markus

Former Member
0 Kudos

But Markus, im using a IP for the sap router as well.. should I add it to the hosts file anyway?

markus_doehr2
Active Contributor
0 Kudos

> But Markus, im using a IP for the sap router as well.. should I add it to the hosts file anyway?

you are using a text string like

1.2.3.4/H/10.1.0.23

That is the "IP addresse" you use and that can't be resolved to a name.

Markus

Former Member
0 Kudos

Im configuring my destination on Web.config as follows:

<add NAME="CONEXAO_SAP" USER="USERNAME" PASSWD="PASSWORD" CLIENT="100" LANG="PT" SAPROUTER="ROUTER_IP" ASHOST="10.10.33.248" SYSNR="00" MAX_POOL_SIZE="20" POOL_SIZE="5" IDLE_TIMEOUT="20"/>

Why is it generating that kind of connection string?

former_member1137458
Participant
0 Kudos

i have same problem.. how to setup saprouter string?

Edited by: cpliu903 on Apr 8, 2011 4:36 AM

ronny_schneider
Explorer
0 Kudos

Hello,

the SapRouter Parameter you used in your connection string is correct. But I suspect there are some missing /H/ in your router string. The SapRouter is not only an IP, it looks like /H/saprouter.com/H/ or in your case /H/1.2.3.4/H/10.1.0.23/H/.

So it looks like

SAPROUTER="/H/1.2.3.4/H/10.1.0.23/H/"

I use it that way and it works.

br, Ronny