cancel
Showing results for 
Search instead for 
Did you mean: 

.NET Connector Error in PDK 2.0

Former Member
0 Kudos

I am testing out a component that uses the .NET Connector 2.0 in VS 2003 (PDK 2.0) that executes a BAPI on one of our R/3 systems. This code used to work on some of our NW04 test servers, but we have been unsuccessful so far in testing this on 04s. When attempting to execute the BAPI from the deployed .NET component in the Portal, we get the following error:

<b>SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=saphdvci.ipaper.com, R3NAME=HDV, GROUP=hdv ERROR service 'sapmsHDV' unknown TIME Fri Aug 25 17:28:55 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 MODULE ninti.c LINE 494 DETAIL NiPGetServByName2: service 'sapmsHDV' not found SYSTEM CALL getservbyname_r COUNTER 1 at SAP.Connector.Connection.Open() at SAP.Connector.Connection.BeforeCall(SAPClient sapclient) at SAP.Connector.SAPClient.BeforeCall() at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at PortalApplication1.SAPProxy1.Bapi_Xmi_Get_Versions() at PortalApplication1.PortalComponent1.Page_Load(Object sender, EventArgs e)</b>

Any idea why the connection is failing for this R/3 system set up in the system landscape in the 04s Portal?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

PDK 2.0 does not support NW04s currently - a fix will be release very soon with NW04s SP9.

Regards,

Yehuda

Former Member
0 Kudos

Thanks for the response. We are currently working with the PDK and the 04s machine in a POC fashion, but do you think that this error is likely caused by the fact that we are attempting to connect to Portal systems and create proxies based on transactions contained in these systems on an 04s machine from the .NET PDK as opposed to a NW '04 server?

If so, then I guess this proves what we were looking to find out for our NetWeaver 04s POC.

rima-sirich
Advisor
Advisor
0 Kudos

Hi Kevin,

There are 2 things that you can do in order to eliminate the problem:

1. Verify that NW04s configuration - Portal systems, users, user mapping, etc. - is similar to NW04 configuration that you used previously.

2. As SAP .NET Connector doesn't require PDK for .NET, you can write ASP.NET application that uses Connector in the similar way to your PDK for .NET application.

If both 1+2 are ok, when probably your problem caused by the fact that PDK for .NET doesn't support working with NW04s.

Regards,

Rima.

Answers (0)