Event Error 2022: Server Unable To Find a Free Connection

Last reviewed: November 21, 1997
Article ID: Q130922
The information in this article applies to:
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0
  • Microsoft Windows for Workgroups version 3.11

SYMPTOMS

After you share a Gateway Service for NetWare (GSNW) session, the following event log appears in the Event Viewer when a Windows for Workgroups version 3.11 client computer attempts to connect to the Windows NT server share:

   Event ID: 2022
   Source: SRV
   Type: Error
   Description: The server was unable to find a free connection
   <number> times in the last <seconds> seconds.

WORKAROUND

To work around this problem, you can modify the registry.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Run the Registry Editor (Regedt32.exe).

  2. From the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

          \SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
    

  3. On the Edit menu, click Add Value.

  4. Add the following:

          Value Name:   MaxFreeConnections
          Data Type:    REG_DWORD
          Data:         8
    
          Value Name:   MaxWorkItems
          Data Type:    REG_DWORD
          Data:         255
    
          NOTE: The maximum number for Work Items is 512. You should use
          255 first, and then increase it as needed, up to a maximum of 512.
    
    

  5. Quit Registry Editor.

  6. At the command prompt, type the following:

          net config server /autodisconnect:-1
    

    NOTE: Be sure you do not type a space between the ":" and "-1" or a syntax error occurs.

  7. Shut down and restart Windows NT.


Additional query words: prodnt 3.1 3.5 3.51 3.11 wfw gsnw nwcs
Keywords : NTINTEROP ntnetserv NTSrv kbinterop kbnetwork
Version : 3.1 3.11 3.5 3.51
Platform : winnt


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