FIX: SQL connection leak when you use WCF-based SQL Adapter one-way send port to return a result set from a database in BizTalk Server 2010 or in BizTalk Server 2013

Article translations Article translations
Article ID: 2855762 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Assume that you use a one-way send port that uses the Microsoft Windows Communication Foundation (WCF)-based SQL Adapter in Microsoft BizTalk Server 2010 or in Microsoft BizTalk Server 2013 to process messages. After some time, you receive the following error message:
The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Cause

This issue occurs because the related SQL connection in the SQL adapter is not released when the message processing generates the results.

Notes:
  • Connections are only released back into the connection pool when the BizTalk host instance is recycled. When the connection buildup exceeds the specified MaxConnectionPoolSize value of the connection pool, you will receive the above error message.
  • This issue occurs when you use one-way send ports.

Resolution

Cumulative update package information

For BizTalk Server 2013

The hotfix that resolves this issue is included in cumulative update package 2 for BizTalk Server 2013.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2892599 Cumulative update package 2 for BizTalk Server 2013

For BizTalk Server 2010

The hotfix that resolves this issue is included in cumulative update package 6 for BizTalk 2010.

For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2855367 Cumulative update package 6 for BizTalk Server 2010


Status

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

More information

For more information about the MaxConnectionPoolSize binding property, go to the following MSDN website:

Working with BizTalk Adapter for SQL Server Binding Properties

For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:

2003907 Information about BizTalk Server hotfixes

Properties

Article ID: 2855762 - Last Review: October 31, 2013 - Revision: 2.0
Applies to
  • Microsoft BizTalk Server Branch 2010
  • Microsoft BizTalk Server Developer 2010
  • Microsoft BizTalk Server Enterprise 2010
  • Microsoft BizTalk Server Standard 2010
  • Microsoft BizTalk Server 2013 Branch
  • Microsoft BizTalk Server 2013 Developer
  • Microsoft BizTalk Server 2013 Enterprise
  • Microsoft BizTalk Server 2013 Standard
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2855762

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com