BUG: Login/Logout Causes 'Max User Connections Connected' Error

Last reviewed: June 27, 1997
Article ID: Q170652
The information in this article applies to:
  • Microsoft SQL Server, version 6.5 Service Pack 3
BUG #: 16737 (NT: 6.5)

SYMPTOMS

Applications that use make/break connections or perform a large number of repetitive logon or logoff operations may cause spurious errors about exceeding the maximum number of configured user connections. The following is the text of an example error message:

   Msg 17809: Unable to connect. The maximum number of '100' configured
   user connections are already connected...

WORKAROUND

If you are using ODBC 3.0, you can use connection pooling to reduce the number of connect and disconnect operations. Otherwise, retry the logon operation or keep a persistent connection to SQL Server.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5 Service Pack 3. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

For example, if there are five user connections configured, and three copies of an application are run that simply connect and disconnect in a loop, so that the maximum number of connections can never exceed three, spurious errors may still be generated that five users are already connected. Due to time delays introduced when performing these operations across a network, the problem is unlikely to be seen if the application is run remotely from the server.


Additional query words: SQLConnect SQLDisconnect dbopen dbclose webserver
iis
Keywords : kbbug6.50.sp3 kbprg SSrvAdmin SSrvDB_Lib SSrvODS SSrvProg
Version : 6.5 SP3
Platform : WINDOWS
Issue type : kbbug
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.