Bug #1169 .NET crashes when I use ODBC Connector 3.51.06
Submitted: 31 Aug 2003 9:16 Modified: 6 Oct 2003 19:26
Reporter: Wyckham Seelig Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S1 (Critical)
Version:3.23.33 OS:BSDi 4.3
Assigned to: Bugs System CPU Architecture:Any

[31 Aug 2003 9:16] Wyckham Seelig
Description:
I am trying to use version 3.51.06 of the ODBC connector to connect to a MySQL database in a C++ environment using .NET.  MySQL is running on a Unix system (BSDi 4.3).

I use the database wizard in .NET to establish the connection.  At first, all goes well.  When I click on the Data Source... button and then select the MyODBC connector, I get a the Select Data Base Object window that lists the tables in the MySQL data base.  Once I select the table that I want, this window closes and I am back to the Application Wizard.  Now, when I click Finish, the development environment crashes with the following message:  "Microsoft Development Environment has encountered a problem and needs to close.  We are sorry for the inconvenience."  

How to repeat:
Repeating the steps above crashes the development environment every time.

This does NOT happen if I use version 2.50 of the ODBC connector
[10 Sep 2003 10:48] Wyckham Seelig
Microsoft has suggested a work-around for this bug.

When you use the Wizard, specify, instead the name of the DSN you have created for version 3.51.06, an older version of the MyODBC connector ( I used a 2.50 version).

This will get you through the wizard--but with the wrong ODBC connector, of course.

Next, edit the Default Connection code and substitute your new ODBC (version 3.51.06) connector DSN for the older one.  You will now be using version 3.51.06.

Apparently, the problem that Microsoft's software is having with version 3.51.06 resides in the wizard itself, rather than within the code that actually utilizes the ODBC connector.
[22 Sep 2003 21:48] Venu Anuganti
Hi !!

Connector/ODBC 3.51 is mainly compatible with MySQL 3.23.36 and above only as documented in the README file that comes with the distribution.

As you are using 3.23.33, the results may not be predictable. Could you please upgrade your server version to the latest stable release and see if that helps.

Thanks
Venu
[22 Sep 2003 21:49] Venu Anuganti
Hi !!

Connector/ODBC 3.51 is mainly compatible with MySQL 3.23.36 and above only as documented in the README file that comes with the distribution.

As you are using 3.23.33, the results may not be predictable. Could you please upgrade your server version to the latest stable release and see if that helps.

Thanks
Venu