FIX: Error "Cannot find NETAPI.DLL" When Running ISQL/W

Last reviewed: May 2, 1997
Article ID: Q138936

The information in this article applies to:
  • Microsoft SQL Server, version 6.0
BUG# NT: 9194 (4.21)

SYMPTOMS

When running the 16-bit version of ISQL/W to connect to SQL Server through non-named pipes IPCs (Inter-Process Communications) such as IPX/SPX and TCP/IP, the following error occurs if the NETAPI.DLL file is not present or not in the path:

   Cannot find NETAPI.DLL

If you click the OK button, the connection can still be made successfully.

This error occurs in spite of the fact that a client does not need NETAPI.DLL if it is trying to connect to SQL Server using IPCs other than named pipes.

CAUSE

The 16-bit version of ISQL/W incorrectly loads NETAPI.DLL.

WORKAROUND

You can avoid this error by copying the appropriate NETAPI.DLL to your clients. Since this DLL is not actually needed, it is not loaded into memory, and therefore no resources will be wasted.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server ISQL/W (16-bit) version 4.21a. This problem was corrected in ISQL/W (16-bit) version 6.0. For more information, contact your primary support provider.


Additional query words: sql6 netapi isqlw
Keywords : kbbug4.21 kbfix6.00 kbnetwork SSrvLan SSrvNet_Lib
Version : 4.21 4.21a 6.0
Platform : WINDOWS


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