Resumen Error en MSVCRT.DLL   (2 mensajes )

Mensaje enviado por Quintero Rojas Daniel <dquintero@meximed.com>

Esto es algo de lo que encontre en el MSDN (Inglés):

----------------------------------------------------------------------------

PRB: Installation Conflict w/C Run-Time Library (MSVCRT20.DLL)
Last reviewed: May 23, 1997
Article ID: Q136286
The information in this article applies to:
Microsoft Visual SourceSafe for Windows, version 4.0
Microsoft Visual SourceSafe for Windows NT, version 4.0
Microsoft Visual SourceSafe for Windows 95, version 4.0
Microsoft Visual C++, version 4.0


SYMPTOMS
Visual SourceSafe uses the Msvcrt20.dll file during installation. If older versions of the file exist on your computer, depending on which operating system you're using, this file may conflict with the Visual SourceSafe installation.

Msvcrt20.dll is the run-time version of the C language library used by any product that was created with Microsoft Visual C++ version 2.x. Earlier versions of this file may be incorrectly installed on your system, which can also create a conflict during installation.

You may see one of the following messages:

   Setup cannot open the destination file
   'C:\WINDOWS\SYSTEM\MSVCRT20.DLL'. The file may be in
   use by another application, or marked read-only. Close
   the application or change the file's read-only attribute
   and try again.

   Setup could not open the file
   'C:\WINDOWS\SYSTEM\MSVCRT20.DLL'. The file may be in
   use by another application.


STATUS
This behavior is by design.



MORE INFORMATION
Windows 95 uses Msvcrt20.dll as an actual part of the operating system.
Windows version 3.x, Windows for Workgroups version 3.1x, and Windows NT version 3.x all require that Msvcrt20.dll be installed in the \Windows\System directory. The Visual SourceSafe installation program can recognize the operating system and installs Msvcrt20.dll as needed.

However, it is possible that earlier versions of Msvcrt20.dll may be installed on the computer. If an application is loaded and using Msvcrt20.dll when you attempt to install Visual SourceSafe, the installation gives an error message and asks you if you want to continue or not. In this case, shut down all other application, and then continue with the installation.

Msvcrt20.dll only used by the Visual SourceSafe setup program. Therefore, any potential conflict can also occur in the future when using Setup to add or remove Visual SourceSafe components, reinstall Visual SourceSafe, or uninstall Visual SourceSafe. To avoid these conflicts, shut down other applications before installing Visual SourceSafe for the Server or Custom install options.

That Msvcrt20.dll is located in the correct directory based on the operating system you are using. Assuming you installed the operating system in the \Windows directory, the following shows where the Msvcrt20.dll file is placed:

Windows 3.x: \Windows\System
Windows 95: \Windows\System
Windows NT: \Windows\System32

The C run-time library (Msvcrt20.dll) comes with a number of products, specifically either Visual C++ or programs created by Visual C++. The following shows the versions of Msvcrt20.dll that ship with Microsoft Products. These may be the source of an installation conflict.

   Product Version of Msvcrt20.dll
   -----------------------------------------------
   Visual C++ 2.0 2.00.000
   Visual C++ 2.1 2.10.000
   Visual C++ 2.2 2.11.000
   Visual SourceSafe 4.0 2.11.000
   Windows 95 2.11.000

----------------------------------------------------------------------------

PRB: Visual C++ 4.0 or 4.1 Setup Fails to Copy Shared DLLs
Last reviewed: July 31, 1997
Article ID: Q148882
The information in this article applies to:
The Microsoft Visual C++ Setup included with: - Microsoft Visual C++, 32-bit
Edition, versions 4.0, 4.1


SYMPTOMS
When you install Visual C++ 4.x in either Windows 95 or Windows NT, it is possible for setup to fail while copying certain shared DLLs. The DLLs that don't copy successfully will most likely be one of these:


   MSVCRT20.DLL MSVCRT40.DLL
   ODBCCP32.DLL ODBC32.DLL ODBCINT.DLL


When setup fails, it displays a dialog box that looks similar to this:

   Setup cannot open the destination file
   'C:\Windows\System\Msvcrt20.dll'. The file may be in use by
   another application, or marked read-only. Close the application
   or change the file's read-only attribute and try again.

   -or-

   Cannot install file C:\Windows\System\Odbc32.dll. It might be
   in use. Try closing all applications and choosing Retry.


Both dialog boxes offer a chance to Abort, Retry, or Ignore.


CAUSE
Many applications use shared DLLs. 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 fail.

For example, the Windows 95 Explorer uses Msvcrt20.dll, so if the Explorer is not closed before running Visual C++ 4.x setup, you could see the problem. You may also see the problem when running The Internet Information Server as it also uses some of these DLLs.



RESOLUTION
Here are several possible resolutions:


The best resolution is to make sure no other applications are running when you install Visual C++ 4.x. To do this, close all applications, and check the task list to make sure nothing is running. Under Windows 95, you can make sure other processes are not running by restarting your computer; hold down the SHIFT key as Windows 95 restarts to bypass the startup group.

An additional workaround is to start Visual C++ Setup in the following manner:
Under Windows 95:



      Close all applications including Explorer. Run setup from an MS-DOS
      window. If you are installing from the network, map to that drive.

Under Windows NT 3.51:



      Close all applications. Run setup from File Manager or a DOS window.


If all applications are closed, but the error still occurs, make sure that you close the Master Setup window; it uses Msvcrt20.dll.

If the problem persists, it is generally safe to click Ignore, and continue with the installation. However, remember to manually copy the files from the Visual C++ CD-ROM that failed to copy during the setup.

Another slightly riskier way to work around the problem is to rename the offending DLL from the system directory. Once the installation completes, restart your computer to cause the new version to be loaded.

STATUS
This behavior is by design.

Keywords : vc40setup kbenv kbsetup
Version : 4.0 4.1
Platform : NT WINDOWS
Issue type : kbprb
----------------------------------------------------------------------------

Lic. Daniel Quintero Rojas
Tel. Oficina (Meximed): (52) 5448-6700 Ext. 6913
E-mail: dquintero@meximed.com
      dqrsoftware@gmx.net
     dqrsoftware@hotmail.com
Página web: http://dqrsoftware.tripod.com/
¡SALUDOS DESDE MÉXICO!


-----Original Message-----
From: CAT - Demarcación de Cáceres [mailto:coaec@retemail.es]
Sent: Martes 25 de Septiembre del 2001 02:05 a.m.
To: visualbasic-esp@yahoogroups.com
Subject: Re: (VB-ESP) Error en MSVCRT.DLL


Hola Juan Carlos!
A mí me pasó también. En mi caso usaba VB-6 con access 97, pero aún no
tenía el SP-5 (creo que no tenía ninguno). Mis usuarios tenían de todo
tipo de windows (95, 98, milenium...), también con access (97, 2000...).
Da igual el ordenador.
El error que me da es:
"Infracción de acceso al copiar el archivo MSVCRT20.DLL". El caso es que
si le das "omitir", todo funciona bien. Ya llevo tiempo con esto, y
traté de mandar la misma pregunta a foros, grupos..., y nadie supo darme
respuesta. Lo único que me decían es que si me daba error, que lo
copiase después desde un disquete, pero no me gustaba mucho la idea, ya
que mi programa no lo instalo yo, sino cada usuario.
Si alguien más de la lista sabe algo, será bienvenido.
Saludos, Magda.

Mensaje enviado por "ARIEL ALVAREZ" <afatronik@yahoo.com>

El MSVCRT20:DLL es utilizado por todos los softwares antivirus, llamese Norton, mcafee, pc cillin, etc.. (no estoy seguro de que sean TODOS los antivirus.. pero al menos los mas conocidos).

No basta con Deshabilitar el Antivirus de la Tray bar..
La mayoria de estos antivirus, se ejecutan como Daemon desde la clave HKLM--Software-Microsoft--Windows--Currentversion --Runservices por lo tanto, esta usando la DLL requerida que el Visual Basic quiere instalar.. por lo gral, esta MSVCRT20.DLL que el programa de VB quiere instalar, es mas vieja que la que traen los antivirus. Por ende con darle omitir no habria problemas.
Pero si te trae problemas (en una maquina me habia pasado) entro a prueba de fallos, la desregistro y la borro.
Y cuando instalo mi programa de VB queda todo perfecto.

Luego habria que devolver la rama del Runservices para el software antivirus.

Hay un programita muy piola que se llama wps (si mal no recuerdo) que viene en los CD del Visual Studio 6.0 y que te muetra todas las dLL cargadas en memoria en ese momento.. ahi te fijas si nadie esta tomando esa dll.

salu2

----- Original Message -----
From: "Juan Carlos Alvarez" <jcarlos.alvarez@abitab.com.uy>
To: <visualbasic-esp@yahoogroups.com>
Sent: Tuesday, September 25, 2001 8:27 AM
Subject: RE: (VB-ESP) Error en MSVCRT.DLL


> A mi me esta dando el mismo error en una maquina.
>
> Tengo una aplicacion instalada en por lo menos 10 maquinas y una de ellas
me
> esta dando este problema, al querer instalarla: "Infracción de acceso al
> copiar el archivo MSVCRT20.DLL".
>
> La verdad es que no se que esta pasando, incluso luego al abrir mi
> aplicacion me abre para elegir un Data Source de ODBC, y yo no me estoy
> conectando por ODBC, simplemente con Ms Jet.
>
> El mismo ejecutable lo instale en por lo menos 10 maquinas y no me ha dado
> problemas. Estoy pensando en instalar el VB 6.0, luego hacer funcionar el
> programa y luego desinstalarlo.
>
> Alguien tiene alguna otra idea, o sabe porque esta dando este error o como
> corregirlo.
>
> Muchas gracias, Juan.
>
> -----Mensaje original-----
> De:
> sentto-1022717-28119-1001401485-jcarlos.alvarez=abitab.com.uy@returns.on
> elist.com
> [mailto:sentto-1022717-28119-1001401485-jcarlos.alvarez=abitab.com.uy@re
> turns.onelist.com]En nombre de CAT - Demarcación de Cáceres
> Enviado el: martes, 25 de septiembre de 2001 4:05
> Para: visualbasic-esp@yahoogroups.com
> Asunto: Re: (VB-ESP) Error en MSVCRT.DLL
>
>
> Hola Juan Carlos!
> A mí me pasó también. En mi caso usaba VB-6 con access 97, pero aún no
> tenía el SP-5 (creo que no tenía ninguno). Mis usuarios tenían de todo
> tipo de windows (95, 98, milenium...), también con access (97, 2000...).
> Da igual el ordenador.
> El error que me da es:
> "Infracción de acceso al copiar el archivo MSVCRT20.DLL". El caso es que
> si le das "omitir", todo funciona bien. Ya llevo tiempo con esto, y
> traté de mandar la misma pregunta a foros, grupos..., y nadie supo darme
> respuesta. Lo único que me decían es que si me daba error, que lo
> copiase después desde un disquete, pero no me gustaba mucho la idea, ya
> que mi programa no lo instalo yo, sino cada usuario.
> Si alguien más de la lista sabe algo, será bienvenido.
> Saludos, Magda.



Resumen Resumen

Visual Basic Página de Visual Basic

Página principal Página principal

www.jrubi.com