Bug #35502 VS 2008 plugin issure: "Failed to add relation(s)" when adding a new Data Source
Submitted: 22 Mar 2008 18:35 Modified: 26 Jun 2008 12:40
Reporter: Frank Schwarz Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.2.1 OS:Windows (VS 2008)
Assigned to: CPU Architecture:Any
Tags: Data Source, dataset, relations, Visual Studio 2008

[22 Mar 2008 18:35] Frank Schwarz
Description:
I wanted to add a new data source to my VB-project, and after finishing the "Data source Configuration Wizard" a MassageBox appears whth the errormassage: 

"Failed to add relation(s). - Unexpected error."

After clicking ok all tables, views, functions are there as expected but no Foreign key or other relation exists in the Datasource.

 

How to repeat:
My environment:
Windows XP Pro
Mysql 5.1.23 
Mysql-connector-5.2.1
Visual Studio 2008 Team Edition
Database: Sakalia testdatabase

Build a plain Windowsforms vb-project and add a Datasource - to all Tables in the Database - to the project.
[22 Mar 2008 18:40] Frank Schwarz
Sorry Sakila test database....
[10 May 2008 17:55] Mark Gambrell
I am havening the same problem i can not add a new Data source 

i am only selecting tables it doesn't matter if it is one table or all of them i get that error "Failed to add relation(s)" and then once i hit ok i get failed to add type information.

Is anyone looking in to this bug? Has any progress been made?
[25 May 2008 2:34] Jon P
I have the same bug, VS 2008 -vista 32 bit Home Premium. Connector/NET 5.2.2
[26 May 2008 12:40] Tonci Grgin
Hi Frank and thanks for your report.

Could it be that it's related to Bug#35459? Can you please try switching to English locale and see if problem goes away.
[26 Jun 2008 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".