Microsoft KB Archive/329818

From BetaArchive Wiki

Article ID: 329818

Article Last Modified on 9/27/2005



APPLIES TO

  • Microsoft Host Integration Server 2000 Service Pack 1



This article was previously published under Q329818

SYMPTOMS

NOTE: This article also applies to Host Integration Server 2000

When you use Host Integration Server 2000 OLE DB Provider for DB2 in a TCP/IP environment, you may receive the following error message:

SQLSTATE: HY000, SQLCODE: -3

If you look at the Db2oledb.h header file, the "-3" indicates a DB2OLEDB_ERROR_RECEIVE for this error. This does not correctly indicate the TCP/IP socket error type.

NOTE: The Db2oledb.h header file is part of Host Integration Server 2000 software development kit (SDK).

CAUSE

Host Integration Server 2000 OLE DB Provider for DB2 returns a generic SOCKET_ERROR when a TCP/IP send or receive fails.

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 fix has the file attributes (or later) 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
   --------------------------------------------------------------
   17-Oct-2002  20:42  5.0.0.900         311,568  Crtpkg.dll       
   17-Oct-2002  20:42  5.0.0.900         663,824  Db2oledb.dll     
   17-Oct-2002  20:42  5.0.0.900          78,096  Mseidb2c.dll     
   17-Oct-2002  20:42  5.0.0.900         880,912  Mseidb2d.dll     
   17-Oct-2002  20:42  5.0.0.900          24,848  Mseidpm.dll      
   17-Oct-2002  20:42  5.0.0.900         262,416  Mseidrda.dll     
   17-Oct-2002  20:41  5.0.0.900         147,728  Mseidt.dll       
   17-Oct-2002  17:58  5.0.0.900          65,808  Crtpkg.exe       

                



STATUS

Microsoft has confirmed that this is a problem in Microsoft Host Integration Server 2000 and Microsoft Host Integration Server 2000 Service Pack 1. This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

MORE INFORMATION

Microsoft has updated Host Integration Server 2000 OLE DB Provider for DB2 to provide the specific SOCKET_ERROR, which is displayed in internal tracing. To see the message, you must have Error Conditions turned on in DB2 Network Library. To do this, you can use the Systems Network Architecture (SNA) Trace utility (Snatrace.exe). You can potentially see a message when you connect, send, or receive over the Windows TCP socket. An example trace message is formatted as follows:

Windows TCPIP Socket Connection (10061): No connection could
be made because the target machine actively refused it.
                

Keywords: kbbug kbfix kbqfe kbhotfixserver KB329818