Upgrade to version 4 bug?

Upgrade to version 4 bug?

Postby wcarlson40 » Wed 18 Apr 2007 15:15

I followed the instructions EXACTLY for upgrading from registered version 3 to registered version 4. (First made sure all instances of Visual Basic .NET were closed, and then uninstalled from the Uninstall link on the Start Menu. Then I installed version 4).

Unfortunately, when I open my projects, they had all lost all MySqlConnection and MySqlDataAdapter objects, thus creating multiple errors within my application (and I have MULTIPLE connections and dataadapters for different forms). Thankfully, reinstalling version 3 and restoring my project from a backup resolved everything, but this problem is reproducible.

Perhaps some useful information for debugging - my MySqlConnection and MySqlDataAdapters are named OleDbConnection1 and OleDbDataAdapter1 since I used the Migration Wizard. Perhaps that is where things get messed up when upgrading?
wcarlson40
 
Posts: 16
Joined: Tue 03 Apr 2007 20:21

Postby Alexey » Thu 19 Apr 2007 07:21

You should delete reference to CoreLab.MySql.dll and re-add it then. Also add reference to CoreLab.Data.dll.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby wcarlson40 » Fri 20 Apr 2007 01:07

Yes, I understand that this would work, but to delete all my references and then reconfigure connections and dataadapters is no upgrade.
This sets me back hours of work. I'll stick with the old version for now...
wcarlson40
 
Posts: 16
Joined: Tue 03 Apr 2007 20:21

Postby Alexey » Fri 20 Apr 2007 07:48

delete all my references and then reconfigure connections and dataadapters is no upgrade
Each application has only one reference to CoreLab.MySql.dll. Why will it take hours?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby wcarlson40 » Fri 20 Apr 2007 17:50

Ahh, I guess I am truly mistaken. I thought you meant to remove each component? (the icons you drag onto your forms from the Toolbox on the left to create the connections, etc.)

Thanks, I will give it another try.
wcarlson40
 
Posts: 16
Joined: Tue 03 Apr 2007 20:21

Postby wcarlson40 » Sun 22 Apr 2007 20:39

Thanks, that seemed to do the trick. All is well again with version 4.
wcarlson40
 
Posts: 16
Joined: Tue 03 Apr 2007 20:21

Postby Alexey » Mon 23 Apr 2007 08:56

Well done!
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL