on 02-05-2007 11:31 AM
I am using the .NET Connector and RFC to call a BAPI
I use a fully qualified domain name in the form <DOMAIN>\<HOST>
The RFC seems to have problems with this form of address. It produces the following execption in my .NET code.
SAP.Connector.RfcCommunicationException: Connect to SAP gateway failed
LOCATION CPIC (TCP/IP) on local host
ERROR hostname 'DOCUNET_AG\DWSAP' unknown
TIME Mon Feb 05 11:57:20 2007
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -2
MODULE ninti.c
LINE 329
DETAIL NiPGetHostByName2: hostname 'DOCUNET_AG\DWSAP' not found
SYSTEM CALL gethostbyname_r
ERRNO 11004
ERRNO TEXT WSANO_DATA: Valid name,
at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo
, Encoding encoding, String languangeCode)
at SAP.Connector.SAPConnection.Open()
What can I do that I am able to use a fully qualifies domain name in this way?
Thank you very much for your answers.
Mirco
hi Micro,
how are you doing ?
to use the domain & server name you need to use :
microserver.microdomain.com
where
microserver : your server
microdomain.com : your domain as defined by the domain controller [DC]
a simpler way is to use the IP address of microserver
e.g. : 10.8.1.64
with respect,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mirco,
Check the SAP Server availability and connection parameter. This could be one of the reason of SAP gateway failed and prefer to give the ip of ASHOST instead of name.
Regards,
+Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Micro,
The FQDN (Fully Qualified Domain Name) should be in the format of
<Host-name>.<Domain-name>
Hope it helps.
Regards,
Maheswaran.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mirco,
it seems that SAP-Connector needs TCPIP-Communication in that way a NETBIOS can't transformed in a valid hostname. Ask your Administrator for the qualified Internet/TCPIP Hostname or IP-Address.
HTH.
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.