PRB: MSVCRT20.DLL May Cause SQL Setup to Stop

Last reviewed: May 5, 1997
Article ID: Q152689
The information in this article applies to:
  • Microsoft SQL Server, versions 4.21 and 6.0

SYMPTOMS

When you upgrade from Microsoft SQL Server 4.21 to 6.0, you may encounter errors referencing "MSVCRT20.DLL". This file is used by a number of Microsoft applications as well as third-party applications. The MSVCRT20.DLL is a Visual C++ runtime dynamic link library (DLL); it could be in use by another process at the time you are attempting to install SQL Server.

WORKAROUND

While setting up or upgrading SQL Server, it is recommended that no other applications be running, or at least close any applications that may be using MSVCRT20.DLL. Microsoft Office Manager, mail packages and other desktop applications may be using this file. Using the Task Manager in Windows NT, make sure all applications are closed before you attempt to run the SQL Server setup program.

MORE INFORMATION

The SQL Server 6.0 setup program uses this file (MSVCRT20.DLL) as part of the setup routine.

This file is also copied to the MSSQL\BINN Directory as part of the file installation during setup. You may also find these files installed in Winnt35\System32 (on Windows NT) and to Windows\System (on Windows 95). It is possible that during setup of another product, this file has been marked as read-only; this will cause the SQL Server setup to stop while attempting to overwrite this file.

If the setup program tries to copy a DLL over another DLL that has the same name while that DLL is in use by another program, the setup program will stop. Renaming or deleting MSVCRT20.DLL will also resolve this issue; any program attempting to use the file will fail to load allowing SQL setup to successfully write to this file.

In addition, it is possible that the WIN32s version of this file may have been installed since the last time the SQL Server setup program was run. This may result in the error "Can't find entry point to MSVCRT20.DLL" or "This version of MSVCRT20.DLL is only intended for Win32s".

The following is a list of Visual C++ versions and the runtime DLLs that are included with them,

   Visual C++  File                             Size         Date / Time
   ----------        ---------------               --------      ----------

     2.0              MSVCRT20.DLL      237,568    09-12-94 / 7:00a (Win32)

     2.0              MSVCRT20.DLL      243,200    09-12-94 / 8:00a

     2.1              MSVCRT20.DLL      244,736    01-20-95 / 9:46a (Win32)

     2.1              MSVCRT20.DLL      250,368    01-20-95 / 9:45a

     2.2              MSVCRT20.DLL      244,736    01-20-95 / 1:46a (Win32)

     2.2              MSVCRT20.DLL      253,952    02-23-95 / 11:32a

Note: SQL 6.5 uses MSVCRT40.DLL for its setup program.


Additional query words: msvcrt40.dll setup fail install
Keywords : kbbug4.21 kbbug6.00
Version : 4.21 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 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.