Skip to Content
Former Member
Apr 28, 2016 at 09:27 AM

Content Server connection problems


Hi All,

we have a strange problem at our customers systems regarding to the Content Server connection/communication. We

have an SAP ERP system (EHP7, Win 2012, ASE 16) and a Content Server (6.50, max DB 7.9) on different hosts. The

customer uses it store invoices, using a scanner to scanning the invoices, that is putting them in pdf on

the CS host and there a developed program (PdfToSapInterface.exe) sending the document into the CS using a BAPI program to

add a pre-generated (by SAP) barcode to the invoice and with this number the invoice is stored in the CS, and a scanned

pdf is goning into an Archive folder.

Usually it is working fine, but sometimes (more times in a day) this method does not work, there is no any regularity in it. When it is

happening the document going into the Archive folder, but the document is missing from the content server, it is not possible to read it in ERP transaction OAAD.

At this time in SMGW we can see the following error message:

Thu Apr 28 10:35:58 2016

***LOG Q0I=> NiIRead: P=<Content_Server_Hostname>:49685; L=<ERP_HOST_IP>:3300: recv (10054: WSAECONNRESET: Connection reset by peer) [D:/depot/b

*** ERROR => NiIRead: SiRecv failed for hdl 205/sock 860

(SI_ECONN_BROKEN/10054; I4; ST; P=<Content_Server_Hostname>:49685; L=<ERP_HOST_IP>:3300) [nixxi.cpp 5386]

***LOG S23=> GwDisconnectClient, client disconnected (958) [gwxxrd.c 10867]

GwDisconnectClient: client 958 disconnected, hostname = <Content_Server_Hostname>, addr =, tp = PdfToSAP



* LOCATION SAP-Gateway on host <ERP_HOSTNAME> / sapgw00

* ERROR connection to partner '<Content_Server_Hostname>:49685' broken


* TIME Thu Apr 28 10:35:58 2016


* COMPONENT NI (network interface)


* RC -6

* MODULE D:/depot/bas/742_REL/src/base/ni/nixxi.cpp

* LINE 5386

* DETAIL NiIRead: P=<Content_Server_Hostname>:49685; L=<ERP_HOST_IP>:3300


* ERRNO 10054

* ERRNO TEXT WSAECONNRESET: Connection reset by peer

* COUNTER 9745



At the SAP Connector log we can see the following error message:

SAP .NET Connector 3.0 with file version running on 32-bit .NET Framework 4.0.30319.34014

Program: S:\PdfToSAP\PdfToSAPInterface.exe

Working directory: C:\Windows\system32

Operating system: Windows Server 2012 Standard Server 64-bit

Processor: 3x AMD64 (or x64)

SAP release: 721, Kernel release: 721, Kernel patch level: 418

Hostname: <Content_Server_Hostname>, IP address: <Content_Server_IP>, IP_v6 address:

Default trace level: RemoteFunctionCall,PublicAPI,InternalAPI

>> Error entry 2016-04-28 10:34:43.370 [Thread 1]


SAP.Middleware.Connector.RfcCommunicationException: no SAP ErrInfo available

at SAP.Middleware.Connector.CpicConnection.CpicSend()

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

at SAP.Middleware.Connector.CpicConnection.Write(Byte[] buffer, Int32 offset, Int32 count)

at SAP.Middleware.Connector.RfcConnection.WriteRfcData(RFCID rid, Byte[] buffer, Int32 offset, Int32 length)

at SAP.Middleware.Connector.RfcParameter.RfcSerialize(RfcConnection conn)

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

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)

In the tracefile of the connector there are the following errors:

2016-04-28 10:34:43.370 [Thread 1] RfcParameter.RfcSerialize threw RfcCommunicationException: no SAP ErrInfo available --- see log for details

2016-04-28 10:34:43.370 [Thread 1] RfcFunction.RfcSerialize threw RfcCommunicationException: no SAP ErrInfo available --- see log for details

No more details about the error there.

The problem often exist when it tries to store more than 2 documents in the same time.

In my head there are two possible problem source could be:

  1. Network problem ( I haven't got any proof about this)
  2. Performance problem at the Content Server

Is anybody have any idea how can we find any solution for this problem?

Is it possible to check/monitoring the performance of the Content Server somehow?

Thank you!