Knowledge Base

"Error -2" in 16-Bit Program When Disconnecting from SQL Server

Article ID: 175056

Article Last Modified on 11/15/2006


APPLIES TO


This article was previously published under Q175056

SYMPTOMS

When you connect to an SQL server using a 16-bit program that uses SQL dblib calls, you may receive an "Error -2" error message.

CAUSE

This problem can occur if you connect and disconnect from the SQL server a number of times.

RESOLUTION

STATUS

This problem no longer occurs in Windows 98. To resolve this problem, install the current version of Windows. For information about the current version of Windows, visit
http://www.microsoft.com/windows.

MORE INFORMATION

Keywords: kberrmsg kbinterop kbprb KB175056