FIX: "Error occurred while browsing the LOB system" when you expand IDOC schema with new NCo connector type in BizTalk Server

Applies to: BizTalk Server 2013 R2 BranchBizTalk Server 2013 R2 DeveloperBizTalk Server 2013 R2 Enterprise More

Symptoms


Assume that you have Microsoft BizTalk Server 2013 R2 Cumulative Update 4 (CU4)  or BizTalk Server 2016 CU1 installed, and that you use the NCo connector to connect to an SAP instance. When you expand the IDOC category and then you select any IDOC to see the list of IDOC versions, you receive the following error message: 
 
Error occurred while browsing the LOB system. Adapter Message: An error occurred when trying to convert byte array: [/BEV1/NEMAT /BEV1/NEMATMAS05701 ] of RFCTYPE: RFCTYPE_CHAR with length: 4 and decimals: 0 to a .Net type. The parameter/field name is: RELEASED.

Cause


The issue occurs because of a code defect in BizTalk Server 2013 R2 or 2016 CU1. If the server is non-Unicode, the byteData value is calculated as SBCS type. This generates an ArgumentOutOfRangeException.

Resolution


Cumulative update information

This problem was fixed in the following cumulative updates for BizTalk Server:
 

Status


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


References


For information about the service packs and cumulative update list for BizTalk Server, see KB 2555976: Service pack and cumulative update list for BizTalk Server .

For more information about BizTalk Server hotfixes, see KB 2003907: Information about BizTalk hotfixes and cumulative update support .