Bug #3178 Won't start and giving an error message
Submitted: 15 Mar 2004 11:36 Modified: 21 Jun 2004 14:20
Reporter: Bent Vangli Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S1 (Critical)
Version:1.0.2b OS:Windows (Windows XP Pro & Win2ksp4)
Assigned to: Michael G. Zinner CPU Architecture:Any

[15 Mar 2004 11:36] Bent Vangli
Description:
After successfully installing the installer version, application won't start. It ives an error message telling it cant find module MSVCR70.DLL.

I have searched my system, and guess what :-) That file isn't there. Most probarly this file is a part of another installation I haven't done, or even better should have been included in the installation file.

Keep up you good work guys. MySQL realy rocks :-))

Best regards

Bent Vangli, Oslo

How to repeat:
Install Administrator on a fresly installed Win XP Pro installation, and try to open application. May even happen on oolder Win XP Pro machines, I have at least three it doesn't work on.

Suggested fix:
Include the missing MSVCR70.DLL in distribution, if that doesn't infrigate any copyrigths. If the latter case is true, put up an installation advisotory on how to cope with the situation.
[15 Mar 2004 11:58] Bent Vangli
Correct version is 1.0.2b.

I have confirmed the bug by picking up the MSVCR70.DLL from Internet (sourceforge.net) and copied that file to Windows system directory "system32". After that, Administrator runs stright away.

With best regards

Bent Vangli, Oslo
[15 Mar 2004 12:21] Ulrich Bayer
I can confirm that msvcrt.dll is not part of a standard windows xp installation.
[16 Mar 2004 10:32] Mike Gholson
I have seen this error as well using Win2k Server.
[26 Mar 2004 8:36] Mark Anderton
I came across the same error, and after checking support.microsoft.com, it appears that "msvcr70.dll" is not a part of the Win OS, rather it is distributed with the MS ".NET" development tools (Visual Studio,VB,C++,C#).
[30 Mar 2004 22:09] David Matson
some clarifications and details that may not be known...

msvcr70.dll is not distributed with current version of .Net.... currently, microsoft is distributing version 7.10.x.x of the Visual C Runtime library (aka msvcr71.dll).  Any version you have should be found in the %windir%/system32 dir, but any updated system will not have the file that the LIBMYSQLADMIN.DLL & LIBMYSQLX.DLL libraries explicitly require.  I do not personally think that putting the msvcr70.dll file in the system directory would be the best solution here, but rather a minor upgrade to the function references in the MySQL Administrator source.

ps: as an apology, I am not a programmer, so please excuse my improper terminology.
[30 Mar 2004 22:24] David Matson
As a side note, the msvcr71.dll has the same function calls that the msvcr70.dll file has, AFAIK (I got bored checking them and stopped), so I copied my msvcr71.dll into a PATH directory (I chose the %windir%\system32 directory), renamed it to msvcr70.dll, and I have no problems.  Still, not a great solution.  Thanks again.
[31 Mar 2004 0:00] Kerry Kobashi
I too came up with the missing MSVCR70.dll after running MySQLAdministrator. The author of this program must add the dll to the setup distribution (and also check to see if there are other DLLs that are part of the package). Until that is done, this program is unusable and not Alpha quality. 

Here's a suggestion to save some time (*):
  Obtain a non-development system
  Install the operating system on it
  Install Norton's Ghost and take a snapshot of the disk
  Copy mySQLAdministrator setup and distribution files over to this test system
  Run the setup program
  Test
  If setup errors show up, you'll know it.
  Make whatever fixes necessary
  Re-establish the snapshot of only the operating system with Norton Ghost
  Go to the first step and repeat

* Do not install any development tools on the test system

This will save you lots of time and prevent setup problems from appearing. It will also allow you to maintain a separate testing station to quickly find and isolate bugs. 

Frankly, this bug should have been caught by internal mySQL testing staff before it was even declared Alpha and not by us end users.
[5 Apr 2004 7:47] Andrew Dugenske
Just wanted to confirm that we are observing the same errors after loading on two different systems.  Here are the specifics:
OS: Windows XP, w/ SP1
MySQL version: 4.0.17-win
MySQL Admin version: 1.0.2b-alpha
Hardware: P4 2.0 Ghz, 256 Mb RAM
[7 Apr 2004 13:05] Gary Nowels
This is a C distrubtable for C++ available with Visual Studio Net. Can also be place in the default main folder of the program path easily. Also, should be installed with VS.NET framework.
[7 Apr 2004 13:53] Paul Wolstenholme
After uninstalling administrator 1.0.1a-alpha and installing 1.0.2b-alpha on W2kpro SP4, I also got the MSVCR70.DLL missing message. Copying an existing MSVCR70.DLL, that was already on my PC, into C:\Program Files\MySQL\GUITools has (seemingly) solved the problem.

OpenOffice.org installs a copy of MSVCR70.DLL (e.g. in C:\Program Files\OpenOffice.org1.1.0\program) as does Microsoft office (e.g. in C:\Program Files\Microsoft Office\Office10\VS Runtime)

If OpenOffice.org can distribute MSVCR70.DLL, surely MySQL should!
[8 Apr 2004 3:07] Michael G. Zinner
To all: Thanks for your detailed reports. This was caused by the switch to the multi-threaded version of the runtime library without debug information.

A new package 1.0.3 including the MS C Runtime Library 7.0 Merge Module has been uploaded and should be available for general download by tonight. Also the -noinstall package now contains the missing library.

If possible, please check the installations. Any feedback would be great!