PRB: LAN Manager Maxusers Limits SQL Server Connections

Last reviewed: April 25, 1997
Article ID: Q73216

The information in this article applies to:
  • Microsoft SQL Server Programmer's Toolkit, version 4.2

SYMPTOMS

DB-Library (DB-Lib) applications cannot connect to a SQL Server running on a LAN Manager network; they receive db-lib error 10004. DOS and OS/2 ISQL return the message, "DB-Library: Unable to connect: SQL Server is unavailable or does not exist." OS/2 SAF returns the message, "The specified SQL Server is not running. OK to start?" DOS SAF returns the message, "Error! Couldn't connect with server. Error number 10004."

CAUSE

The LAN Manager maxusers parameter limits the number of users who can use the server simultaneously. When LAN Manager is installed, maxusers is set to 10 by default.

WORKAROUND

Using the LAN Manager Setup program, choose View/Modify from the Actions menu and increase the Maximum Users setting in the Server Primary Parameters dialog box.

Note that the "Microsoft LAN Manager 2.1 Administrator's Reference" states on page 251 states that the value of maxusers should include the number allowed by your LAN Manager Additional User Pak(s), plus the number of users accessing the server through interprocess communication (IPC) connections. Examples of IPCs include the named pipes used by network application programs, such as the NET RUN command or Microsoft SQL Server. Please note that this also applies Microsoft LAN Manager 2.0 and 2.1.


Additional query words: dblib
Keywords : kbprg SSrvDB_Lib SSrvProg
Version : 4.2 | 4.2
Platform : MS-DOS OS/2


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: April 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.