PRB: Error "Can not find NETAPI.DLL" Under MS Client

Last reviewed: May 1, 1997
Article ID: Q137786

The information in this article applies to:
  • Microsoft SQL Server, version 6.0

SYMPTOMS

When you try to connect to SQL Server via named pipes from a computer running Windows with the Microsoft Network Client version 3.0, you may encounter the error "Can not find NETAPI.DLL."

CAUSE

Microsoft Network Client version 3.0 does not include the NETAPI.DLL file, which is necessary for named pipes communication support under Windows. To use named pipes with this network client, you need to use the NETAPI.DLL that comes with the Windows for Workgroups (WFW) distribution diskettes or CD-ROM. You can also find this file in Windows NT 3.5 or 3.51 server CD- ROM, under the directory of CLIENT\WFW\UPDATE.

WORKAROUND

You can correct this error by copying the NETAPI.DLL from the Windows for Workgroups (WFW) installation to the WINDOWS\SYSTEM directory.

MORE INFORMATION

The NETAPI.DLL that ships with Microsoft SQL Server 6.0 16-bit client can not be used for this purpose. If this file is in the path or in the current directory where your application is started, you need to rename it, and use the one from WFW instead.


Additional query words: sql6 msclient lan
Keywords : kbinterop kbnetwork SSrvLan
Version : 4.21 | 6.0
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: May 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.