FIX: The Host Integration Server 2000 OLE DB Provider may end the SQL Server process if it cannot find memory to allocate (872770)



The information in this article applies to:

  • Microsoft Host Integration Server 2000
  • Microsoft Host Integration Server 2000 SP1

SYMPTOMS

You may use the Microsoft Host Integration Server OLE DB Provider from inside Microsoft SQL Server. If the OLE DB provider must allocate memory but it cannot find any memory to allocate, the OLE DB Provider will end the SQL Server process. You do not receive an error message from the OLE DB provider when this problem occurs.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Host Integration Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to obtain the latest service pack for Host Integration Server 2000

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version    Size     File name
   ----------------------------------------------------
   30-Jun-2004  00:02  5.0.0.987  311,568  Crtpkg.dll       
   30-Jun-2004  00:02  5.0.0.987  688,400  Db2oledb.dll     
   30-Jun-2004  00:02  5.0.0.987   53,552  Ddmstr.dll       
   30-Jun-2004  00:02  5.0.0.987   78,096  Mseidb2c.dll     
   30-Jun-2004  00:02  5.0.0.987  889,104  Mseidb2d.dll     
   30-Jun-2004  00:02  5.0.0.987   24,848  Mseidpm.dll      
   30-Jun-2004  00:02  5.0.0.987  266,512  Mseidrda.dll     
   30-Jun-2004  00:01  5.0.0.987  147,728  Mseidt.dll       
   30-Jun-2004  00:02  5.0.0.987   65,808  Crtpkg.exe       
   30-Jun-2004  00:02  5.0.0.987   82,192  Ddmserv.exe      
Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.

MORE INFORMATION

This problem has been observed when a linked server was used within the SQL process.

After you apply this hotfix, the OLE DB provider will not end the process if memory cannot be allocated. Instead, you will receive the following error message:
Memory allocation error. SQLSTATE: HY000, SQLCODE: -22

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

Modification Type:MinorLast Reviewed:6/5/2006
Keywords:kbHotfixServer kbQFE kbfix kbbug KB872770 kbAudDeveloper kbAudITPRO