Quantcast
Channel: SCN : All Content - SAP NetWeaver Application Server
Viewing all articles
Browse latest Browse all 2997

Cannot use load balancing features with SAP NW RFC RfcOpenConnection: Access violation

$
0
0

Hallo ,

I'm writing a C++ windows program to connect to one or more SAP Server(s) from  a non-SAP environment. I used the nwrfcsdk from the package NWRFC_9-20004566.SAR

I succesfully connect to a Sap Server using the sapnwrfc.ini or passing all the parameters in the array taken by the function RfcOpenConnection in case of direct application server logon ( i.e. ASHOST and SYSNR ) but I have big problem using the load balancing parameters (i.e. MSHOST, MSSERV,  R3NAME or SYSID and GROUP).

 

Fom the SAP GUI 720 (final realase) for windows i succesfully connect to the group, but as soon as the RfcOpenConnection tries to connect to the Group I received the following error:


Unhandled exception at 0x781449d1 (msvcr80.dll) in TestLoadBalancing.exe: 0xC0000005: Access violation reading location 0x00000002.

The problem is the same using the sample provided by SDK itself. Note both my program and the sample can succesfully without any problem using the same ini file.

 

The patch ATL security patch MS09-035 for the msvcr80 is alreay present on the machine.

 

 

Is there any knon issue about this ?

 

Can someone help me ?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 2997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>