FIX: The WCF-SAP adapter crashes after you change the ConnectorType property to NCo in BizTalk Server

Kehtib: BizTalk Server 2013 R2 DeveloperBizTalk Server 2013 R2 BranchBizTalk Server 2013 R2 Enterprise

Symptoms


After you change the ConnectorType property for an SAP solicit response Send port from ClassicRfc to NCo in Microsoft BizTalk Server, the WCF-SAP adapter crashes. Additionally, you may receive the following error message:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP:Body><SOAP:Fault><faultcode>Microsoft BizTalk Server Negative Acknowledgment </faultcode><faultstring>An error occurred while processing the message, refer to the details section for more information </faultstring><faultactor>sap://CLIENT=XXX;LANG=EN;@a/XXXXXXX.XXXXX.net/20?RfcSdkTrace=True&amp;AbapDebug=False</faultactor><detail><ns0:NACK Type="NACK" xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{ID}</NAckID><ErrorCode>0xc0c0167a</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>System.NullReferenceException: Object reference not set to an instance of an object.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.