Skip to Content
0
Former Member
Feb 05, 2007 at 11:31 AM

Problem connecting through RFC with fully qualified domain name

266 Views

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