cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP .NET Connector 3 Error retrieving data

Former Member
0 Likes
1,000

Hi, sometimes when our .NET application retrieves data from SAP, it throws below exception.

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR client with wrong appc header version rejected

TIME Mon Oct 03 15:11:25 2011

RELEASE 720

COMPONENT CPIC (TCP/IP) with Unicode

VERSION 3

RC 246

MODULE r3cpic.c

LINE 8553

DETAIL client version 6, gateway version 120 (10.230.245.12/3300)

COUNTER 6

Stack trace is as below,

at SAP.Middleware.Connector.CpicConnection.CpicReceive(Int32 timeout)

at SAP.Middleware.Connector.CpicConnection.Read(Byte* buffer, Int32 offset, Int32 count)

at SAP.Middleware.Connector.RfcConnection.ReadBytes(Byte* buffer, Int32 count)

at SAP.Middleware.Connector.RfcConnection.ReadRfcIDBegin(Int32& length)

at SAP.Middleware.Connector.RfcConnection.ReadUpTo(RFCGET readState, RfcFunction function, RFCID toRid)

at SAP.Middleware.Connector.RfcConnection.RfcReceive(RfcFunction function)

at SAP.Middleware.Connector.RfcFunction.RfcDeserialize(RfcConnection conn, IRfcIOStream stream)

at SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn, IRfcIOStream stream, RFCID rid)

at SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn)

at SAP.Middleware.Connector.RfcFunction.Invoke(RfcDestination destination)

at CK_Display.MainDisplay.Get_WKCentreInfo_Set()

Most of the time RFC call works fine with no errors, but at least once a day this error comes.

This happens randomly and I couldn't figure out a reason why it happens, I'm accessing the RFC via LAN here, so I hope no bother from network connectivity. Can anyone any help on this pls.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

Did any of you find a solution for this? I am facing the same problem but can't seem to put a finger on it. Thanks

Former Member
0 Likes

I also met the same problem.

Can someone give me some advice?

Thanks!

Former Member
0 Likes

Hello

At that time what is the message that you in sm21 and st22? Can you give me the logs?

Thanks & regards

bala

Edited by: sm_balas on Nov 2, 2011 3:04 PM

Former Member
0 Likes

The same happens with one of our services. The exception is thrown randomly. Any advice?