none
WCF-SAP Adapter raised an error message. RRS feed

  • Question

  • Hi Guys,

    Any idea about this error ?

    The adapter "WCF-SAP" raised an error message. Details "System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.

    Parameter name: startIndex

       at System.BitConverter.ToString(Byte[] value, Int32 startIndex, Int32 length)

       at Microsoft.Adapters.SAP.SapMetadataUtilities.ConvertRfcBytesToXmlString(SAPConnection sapConnection, Byte[] data, Int32 offset, Int32 datalength, Int32 singleByteFieldLength, RFCTYPE type, Int32 decimals, String fieldname, Encoding encoding)

       at Microsoft.Adapters.SAP.SapTableMetadata.GetDataValueInXmlFormat(Int32 fieldIndex, Byte[] data, SAPConnection sapConnection)

       at Microsoft.Adapters.SAP.XmlGenerator.ReadClassicRfcValues()

       at Microsoft.Adapters.SAP.XmlGenerator.Read()

       at System.Xml.XmlDictionaryWriter.WriteNode(XmlDictionaryReader reader, Boolean defattr)

       at System.ServiceModel.Channels.XmlReaderBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkMessageStream(Message wcfMessage, IAdapterConfigInboundMessageMarshalling config, TLConfig tlConfig, RLConfig rlConfig)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkMessage(IBaseMessageFactory messageFactory, IAdapterConfigInboundMessageMarshalling marshallingConfig, Message wcfMessage, TLConfig tlConfig, RLConfig rlConfig)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkSubmitMessage(IBaseMessageFactory factory, String inboundTransportLocation, String inboundTransportType, RLConfig config, Message wcfMessage, String ssoToken)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkSubmitBase..ctor(Message message, BizTalkEndpointContext endpointContext, ControlledTermination control, AsyncCallback realCallback, String ssoToken)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkSubmit..ctor(Message message, AsyncCallback callback, Object state, BizTalkEndpointContext endpointContext, String ssoToken, ControlledTermination control)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkOperation.Create(Message message, AsyncCallback callback, Object state, String ssoToken, Boolean bizTalkOneWay, BizTalkEndpointContext endpointContext, ControlledTermination control)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.BeginOperation(Message message, AsyncCallback callback, Object state, Boolean bizTalkOneWay)".



    Thanks, Varun

    Thursday, December 8, 2016 5:38 PM