Error Message: Too Many Outstanding Commands

Last reviewed: March 3, 1998
Article ID: Q169540
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows 95 OEM Service Release version 2
  • Microsoft Windows 95 OEM Service Release version 2.1

SYMPTOMS

The Vnetbios.vxd virtual device included with Windows 95 is limited to 38 posted Listens. Some programs that use the NetBIOS Application Programming Interface (API) in Windows 95 may need to post more than 38 Listens. The following error message may be displayed if this is attempted:

   Too many outstanding commands.

Note that posting other commands to the NetBIOS interface may also result in this error message. This occurs mostly with asynchronous commands, but may also occur with synchronous commands. As a general rule, a command uses space for one network control block (NCB) in the device's internal buffer. This buffer is separate from, and does not affect, the number of sessions available to NetBIOS.

CAUSE

The Vnetbios.vxd virtual device runs out of internal storage for NCBs when 38 Listens are posted. A key available in the Microsoft Windows 3.11 System.ini file (the "NumHCBs=" line in the [386Enh] section of the file) that allows the internal storage buffer to be expanded is not implemented in Windows 95.

RESOLUTION

This issue is resolved by the following updated file for Windows 95 (all versions):

   Vnetbios.vxd version 4.00.953, dated 12/16/97 09:53pm, 27,245 bytes

STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows 95 (retail release) and Microsoft Windows 95 OEM Service Release 2 (OSR2) and 2.1 (OSR2.1). An update to address this problem is now available, but is not fully regression tested and should be applied only to computers experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft does not recommend implementing this update at this time. Contact Microsoft Technical Support for additional information about the availability of this update.

MORE INFORMATION

After you obtain and install the update, add one of the values listed below for the "NumHCBs=" line in the System.ini file. Note that the number of Listens is not an exact correlate of the value set for the "NumHCBs=" line. This occurs because the Vnetbios.vxd internal command buffer is allocated in pages, rather than the exact value on the "NumHCBs=" line.

   [386Enh]
   NumHCBs=32      ; this is the default value, yields 38 listens
   ;NumHCBs=41      ; yields up to 77 listens
   ;NumHCBs=80      ; yields up to 117 listens

NOTE: The semicolon (;) character shown at the beginning of the sample entries begins commented text. Windows 95 ignores all text that follows the semicolon. Include only one of the lines in the System.ini file, and make sure that the leading semicolon has been removed so that the value is used.


Additional query words: netbios NumHCBs maximum listens
Keywords : osr2 win95 kberrmsg kbnetwork kbfixlist
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbprb


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