Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: SAPBinding constructor fails with NullReferenceException


View products that this article applies to.

Symptoms

After you install Microsoft BizTalk Server 2013 R2 CU2, code that invokes the SAPBinding(String configurationName) constructor fails as follows:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Adapters.SAP.SAPBinding.get_ConnectorType()
at Microsoft.Adapters.SAP.SAPBinding..ctor(String configurationName) at ConsoleApplication.Program.Main(String[] args) in c:\Projects\ConsoleApplication\ConsoleApplication\Program.cs:line 25
Note The calls to default SAPBinding() constructor work fine.

↑ Back to the top


Cause

The issue occurs because there is code defect in cumulative update package 2 for BizTalk Server 2013 R2.

↑ Back to the top


Resolution

Cumulative update information

The fix that resolves this issue is included in the following cumulative update for BizTalk Server:

↑ Back to the top


Status

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

↑ Back to the top


References

Learn about the service pack and cumulative update list for BizTalk Server.

Learn about BizTalk Server hotfixes and cumulative update support .

Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.


↑ Back to the top


Keywords: kb, kbqfe, kbsurveynew, kbbts, kbbtsadapters, htbiztalkcoding, kbadapters

↑ Back to the top

Article Info
Article ID : 3162562
Revision : 1
Created on : 1/7/2017
Published on : 10/10/2016
Exists online : False
Views : 262