on 02-21-2011 2:55 PM
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
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.