Description:
I just upgraded from MySQL 4.0.20d to 4.1.8 running on Windows XP Pro. Since the previous installed version was 4.0.20d, instructions indicated this required an unistall and reinstall. After the upgrade, right-clicking on "My Computer" and selecting "Properties" produces a message from rundll32.exe which says "This application has failed to start because framedyn.dll was not found." As is typical of Microsoft error messages, this provides far too little information to be able to figure out what application is attempting to use framedyn.dll or what directory it's expecting to find framedyn.dll in. Although I can't say for certain that the MySQL upgrade definitely caused this, I can say for certain that My Computer>Properties did not produce this error before I started the upgrade, and that while I was doing the upgrade I was not performing any other task on the computer. I've looked through the background processes, and cannot find anything that might have deleted this file. The only other things I was running at the time were the Windows port of GNU Emacs 21.3.1 so I could take notes on the upgrade process, and Netscape 7.1 so I could read the upgrade instructions in section 2.3 of the MySQL manual (version 5.0.3-alpha).
The only thing I knowingly ran that would have deleted any files at all was the uninstall of MySQL 4.0.20d, which I ran by navigating through the menus as follows: Start>Settings>Control Panel>Add or Remove Programs>MySQL>Remove. Could it be the 4.0.20d uninstall code that deleted framedyn.dll? And if so, does the same problem continue to exist in the uninstall code for later versions as well?
How to repeat:
Here is the complete list of steps I followed to do the upgrade:
1) I dumped the database with the command:
mysqldump --opt --all-databases --result-file=all_databases_20050111.sql --verbose -uroot -p
2) I shut down the MySQL server:
My Computer>Manage>Services and Applications>Services>MySQL>Properties>General
Click on "Stop"
Change Startup type to "disabled" and click on "Apply"
3) I removed the MySQL service with the command:
mysqld --remove
4) I uninstalled MySQL 4.0.20d by clicking on:
Start>Settings>Control Panel>Add or Remove Programs>MySQL>Remove
5) I unpacked mysql-4.1.8-win.zip which produced Setup.exe
6) I double-clicked on Setup.exe and followed the installation procedure. I selected "Custom" installation, and instructed it to install everything except the MySQL config utility for DOS-derived versions of Windows. I also changed the installation partition from C: to D:.
7) At the end of the installation, the MySQL Server Instance
Configuration Wizard automatically ran. During this, I encountered a problem which I've submitted as Bug #7820. As a result of this problem, I had to try to undo whatever changes the wizard had made so I could start the wizard over again. One of the changes I had to undo was a modification to the system's PATH environment variable, which meant I had to go to My Computer>Properties. When I did so, I encountered an error I've never encountered before. The title bar said: "rundll32.exe - Unable To Locate Component", and the message in the dialog box was: "This application has failed to start because framedyn.dll was not found. Re-installing the application may fix this problem." When I clicked on OK, the Windows XP System Properties window appeared and seemed to behave normally, and I was able to click on the "Advanced" tab, select Environment Variables>System Variables>Path>Edit, and remove "D:\Program Files\MySQL\MySQL Server 4.1\bin" from the path.
However, now whenever I access My Computer>Properties, rundll32.exe complains that framedyn.dll is missing. There's no foreground or background process I can think of that was running during the time I was doing the upgrade that would have deleted any files, other than the uninstall of MySQL 4.0.20d. So, although I don't have absolute proof, that's where the finger of suspicion points.