Bug #47656 | Failed to install web provider | ||
---|---|---|---|
Submitted: | 26 Sep 2009 5:03 | Modified: | 13 Oct 2009 20:56 |
Reporter: | Tommy Pham | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 6.0.3 & 6.1.2 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[26 Sep 2009 5:03]
Tommy Pham
[26 Sep 2009 5:04]
Tommy Pham
6.0.3 verbose log
Attachment: mysql6.0.3.log (application/octet-stream, text), 200.64 KiB.
[26 Sep 2009 5:05]
Tommy Pham
6.1.2 verbose.log
Attachment: mysql.log (application/octet-stream, text), 220.56 KiB.
[26 Sep 2009 8:01]
Peter Laursen
Your system drive is D: (Dir (target): Key: WindowsFolder , Object: D:\Windows\) Could that be the problem? Peter (not a MySQL person)
[26 Sep 2009 8:08]
Tommy Pham
"Your system drive is D: (Dir (target): Key: WindowsFolder , Object: D:\Windows\) Could that be the problem? Peter" No, because I see the changes made to MACHINE.CONFIG regarding mysql membership provider, etc. It fails at certain point while installing the web provider. If I omit the web provider, it installs OK. I see the MySQL.Data & MySQL.Data.Entity in d:\windows\assembly. Besides, the 6.0.3 installed successfully when the OS was a vanilla install. Thanks, Tommy
[13 Oct 2009 11:55]
Tonci Grgin
Tommy, so far I haven't had such problems... I must admit I did not upgraded from 6.0.3 but from 6.0.9 (I think). Let me try again.
[13 Oct 2009 12:09]
Tonci Grgin
Tommy, you better not know what my box has already been through but I rechecked your claim (removing all c/NET, installing 6.0.3, removing 6.0.3 and installing 6.1.2) and found nothing wrong... My box runs W2K8SE x64 on quad core with both VS2005 and 2008 Pro installed. I do such stuff from Admin account. To me, this appears to be the problem on your box: MSI (s) (8C:3C) [21:53:55:424]: WIN64DUALFOLDERS: Substitution in 'D:\Program Files (x86)\MySQL\MySQL Connector Net 6.1.2\Assemblies\MySql.Web.dll' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
[13 Oct 2009 20:51]
Tommy Pham
I don't know what 'folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0)' message mean. When I had problems with installing the 6.1.2 connector after uninstalling 6.0.3, I did the following: 1) I uninstalled all components for 6.1.2. 2) Remove all registry entries containing 'MySQL Connector'. 3) Made sure that %ProgramFiles(x86)%\MySQL\MySQL Connector Net* is deleted and MySQL.* files don't exist in %windir%\assembly. 4) Rebooted system. 5) Reinstall the connector. Fails again with the web provider. I tried several times with and without the web provider. The files in %ProgramFiles(x86)%\MySQL\MySQL Connector Net 6.1.2\Assemblies\ are always there whether web provider option is selected or not. I think it has something to do with the configuration for MySQL.* in the machine.config. ATM, I've been using a work around by copying the relevant MySQL.* file(s) to my web project's bin folder. Thanks, Tommy
[13 Oct 2009 20:56]
Tommy Pham
I forgot to mention that part of cleaning process before reinstalling 6.1.2, I also removed all *MySQL* entries in %windir%\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config.
[14 Oct 2009 10:40]
Tonci Grgin
Tommy, I see no reason for me to remove those entries manually. I just use Add/Remove programs.
[23 Mar 2010 5:13]
Mrinmoy Saha
I am having the same issue with 6.2.2 connector. If I don't install web provider in the custom install option, then it installs fine. I also tried manually copying the MySql.Web.dll file and trying to install it as follow. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installUtil.exe" /LogToConsole=true "C:\Program Files\MySQL\MySQL Connector Net 6.2.2\Assemblies\MySql.Web.dll" It gives an error: An exception occurred during the Install phase. System.NullReferenceException: Object reference not set to an instance of an object.