Bug #33097 Visual Studio crash when configure an adapter query
Submitted: 9 Dec 2007 12:49 Modified: 20 Jul 2009 11:37
Reporter: Renaud Paquay Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.1.4 OS:Any
Assigned to: CPU Architecture:Any
Tags: adapter, configure, crash

[9 Dec 2007 12:49] Renaud Paquay
Description:
Given a xsd related to a MySql table.
If the xsd schema differs from the mySql table, when right clicking on the configure menu to change a query, Visual studio crashes.

It occurs everytime I remove a field from a table (with phpmyAdmin or mySqlClient) and that I attempt to reconfigure my queries.

I suppose it's because the schema maintained in the xsd is different from the schema in the database. The plugin doesn't excpect this change and crashes.

How to repeat:
Create a simple table with some fields in MySql.
Create a new DataSet file in your visual studio project (xsd).
Drop the table in the xsd.
Configure a new Query (select myField WHERE ID=XXX).
Save the xsd.
Remove a field from your table.
Try to change your query.
[20 Jul 2009 11:37] Tonci Grgin
Hello Renaud and thanks for your report. I apologize for the huge delay in processing...

This problem is not repeatable any more with new versions of c/NET and VS2008Pro. If you're still having problems, please reopen the report.