TCPIP Network Client Errors

This article was produced by the HIS product team prior to updating the documentation. Let us know if you have any feedback.

The following table lists TCPIP Network Client error constants, values, SqlState, SqlCode and a description of the error.

 


Const
Value SqlState SqlCode Description
DB2OLEDB_COMM_HOST_NAMERESOLV_FAILED   08S01 -602 Could not resolve the specified host name. TCP
DB2OLEDB_COMM_HOST_CONNECT_FAILED   08S01 -603 Could not connect to specified host. TCP
DB2OLEDB_COMM_SOCKET_ALLOC_FAILED   08S01 -604 Socket allocation failed. TCP
DB2OLEDB_COMM_SOCKET_REC_FAILED   08S01 -605 The network connection was terminated because the host failed to send any data. TCP
DB2OLEDB_COMM_ESSO_FAILURE   08S01 -606 Enterprise single sign-on failure
NA WSANOTINITIALISED 08S01 10093 A successful WSAStartup call must occur before using this function. For more information, see http://msdn.microsoft.com/en-us/library/ms742213(VS.85).aspx.
NA WSAEADDRNOTAVAIL 08S01 10049 The remote address is not a valid address (such as INADDR_ANY or in6addr_any) .
NA WSAEAFNOSUPPORT 08S01 10047 Addresses in the specified family cannot be used with this socket.
NA WSAECONNREFUSED 08S01 10061 The attempt to connect was forcefully rejected.
NA WSAEFAULT 08S01 10014 The sockaddr structure pointed to by the name contains incorrect address format for the associated address family or the namelen parameter is too small. This error is also returned if the sockaddr structure pointed to by the name parameter with a length specified in the namelen parameter is not in a valid part of the user address space.
NA WSAENETUNREACH 08S01 10051 The network cannot be reached from this host at this time.
NA WSAEHOSTUNREACH 08S01 10065 A socket operation was attempted to an unreachable host.
NA WSAENETRESET 08S01 10052 For a connection-oriented socket, this error indicates that the connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. For a datagram socket, this error indicates that the time to live has expired.
NA WSAEMSGSIZE 08S01 10040 The message was too large to fit into the specified buffer and was truncated.
NA WSAECONNABORTED 08S01 10053 The virtual circuit was terminated due to a time-out or other failure. The application should close the socket as it is no longer usable.
NA WSAETIMEDOUT 08S01 10060 The connection has been dropped because of a network failure or because the peer system failed to respond.
NA WSAECONNRESET 08S01 10054 The virtual circuit was reset by the remote side executing a hard or abortive close. The application should close the socket as it is no longer usable. On a UPD-datagram socket this error would indicate that a previous send operation resulted in an ICMP "Port Unreachable" message.
NA WSAENETRESET 08S01 10052 The connection has been broken due to the keep-alive activity detecting a failure while the operation was in progress.
NA WSAENOBUFS 08S01 10055 No buffer space is available.
NA WSAENOTCONN 08S01 10057 The socket is not connected.
NA WSAEHOSTUNREACH 08S01 10065 remote host cannot be reached from this host at this time.
NA WSAEMFILE 08S01 10024 No more socket descriptors are available.
NA WSAEPROTONOSUPPORT 08S01 10043 The specified protocol is not supported.
NA WSAENETDOWN 08S01 10050 A socket operation encountered a dead network. This could indicate a serious failure of the network system (that is, the protocol stack that the Windows Sockets DLL runs over), the network interface, or the local network itself.

 

Click the following link to return to the main Host Integration Server (HIS) DB2OLEDB Errors topic http://social.technet.microsoft.com/wiki/contents/articles/host-integration-server-his-db2oledb-errors.aspx