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

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 : kbnetwork SSrvLAN SSrvNet_Lib kbbug4.21 kbfix6.00
Version : 4.21 4.21a 6.0
Platform : WINDOWS
Issue type :


Last Reviewed: April 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.