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.

"Failed to get connection from pool" error message when you run a transaction by using the OLE DB Provider for DB2


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You run a transaction by using the Microsoft OLE DB Provider for DB2 that is delivered with Microsoft Host Integration Server 2013. 
  • Connection pooling is enabled.
  • The Units of Work property is set to DUW for distributed transactions.

In this scenario, you may receive the following error message:

"Failed to get connection from pool", SQLCODE = -7049, SQLSTATE = HY000

Note You will receive this error message even if there should be free connections in the pool.

↑ Back to the top


Cause

The Max Pool Size property is incorrectly handled by the OLE DB Provider for DB2 if distributed transactions are used.

↑ Back to the top


Resolution

The fix for this problem is included in cumulative update package 3 for Host Integration Server 2013. For more information about how to get the cumulative update package, see Cumulative update package 3 for Host Integration Server 2013.

↑ 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


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kb

↑ Back to the top

Article Info
Article ID : 3041000
Revision : 1
Created on : 1/7/2017
Published on : 9/29/2015
Exists online : False
Views : 270