Bug #67867 | Unable to Add Connection in VS2010 (Connector NET) | ||
---|---|---|---|
Submitted: | 10 Dec 2012 21:33 | Modified: | 2 Feb 2013 1:18 |
Reporter: | richard cohen | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 6.6.4 | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | Add connection, connector net, Visual Studio, vs2010 |
[10 Dec 2012 21:33]
richard cohen
[23 Jan 2013 19:01]
Fernando Gonzalez.Sanchez
That seems strange, there have been reports of it before, but clear how to repro. Any information you can provide (whether if you have previous Connectors installed, other apps running while installing 6.6.4, or the msi log could help).
[23 Jan 2013 19:12]
richard cohen
I resolved the problem, it was in the machine.config file. There was an additional self-closing <DbProviderFactories />. I had to remove that entry, and now my config file looks like this: ''' <DbProviderFactories> <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.5.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/> <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/> </DbProviderFactories> ''' Now it works fine.
[2 Feb 2013 1:18]
Fernando Gonzalez.Sanchez
Ok, good to know you solved your problem. We were not able to reproduce it installing Cnet 6.6.4 in VS2010. If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. Thank you for your interest in MySQL.