Bug #41517 An Unexpected Error has Occured - Visual Studio 2008 / Vista Business
Submitted: 16 Dec 2008 19:55 Modified: 10 Apr 2009 10:55
Reporter: Elliot Knight Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.2.5 OS:Windows (Vista Business)
Assigned to: CPU Architecture:Any

[16 Dec 2008 19:55] Elliot Knight
Description:
I have installed the Connector for .NET in Visual Studio 2008 with all updates applied running on Vista Business with all updates applied. 

I can connect to a MySql server fine. When I want to add a new Data source using the Data Source Wizard, I can select the Database Icon, and Click Next then I get the error: 

An Unexpected Error has Occured
Error Message: Unexpected Error.

When I remove the MySql connector from the system, the Wizard works as expected.

How to repeat:
Run the Add Data Source Wizard in Visual Studio 2008.
[16 Dec 2008 19:58] Elliot Knight
Screen Shot Of Bug

Attachment: SQLBug.jpg (image/pjpeg, text), 51.10 KiB.

[17 Dec 2008 7:46] Tonci Grgin
Hi Elliot and thanks for your report.

I have no VS2008 to test so I'll have to work with you on this.
  o Do you by any chance use *express* edition of VS? It is known limitation express can't work with plugins.
  o What is the .NET FW version you're using?
  o Can you check Add/Remove programs and .NET FW configuration for remainings of some older version of c/NET?
[17 Dec 2008 7:58] Tonci Grgin
Maybe http://xspgroup.wordpress.com/2008/09/09/aspnet-authorization-authentication-with-mysql/ can help?
[17 Dec 2008 8:01] Elliot Knight
I am using VS 2008 Professional Edition.
The only version of the Frame Work that I have installed for Windows Forms is 3.5.
[18 Dec 2008 17:41] Elliot Knight
The link was nothing to do with it sorry. Any further suggestions?
[29 Dec 2008 16:11] Elliot Knight
Is there any update on this? I have become very fustrated with the bug as I can not continue development as I normally would.
[12 Feb 2009 15:05] Tonci Grgin
VS2005

Attachment: Bug41517.jpg (image/jpeg, text), 31.60 KiB.

[12 Feb 2009 15:06] Tonci Grgin
Elliot, unfortunately, I still don't have VS2008...

Do you see at least see choices as in my attached image?
[20 Feb 2009 9:24] Claus Denk
I have the same problem, Visual Studio 2008 90 day trial version on Win XP, connector 5.2.5. Strange thing is, yesterday it worked although with some problems (error message about relations not included in datasets). Today, when opening project in VS, a lot of strange errors, and mysql data sources not showing up. I uninstalled the connector, the wizard worked fine (with other dbs). Now, new install, error shows up again. This happens right after clicking on "Next" with the option "Database" selected, i.e. in the very first step, no chance to select mysql driver.
[20 Feb 2009 9:53] Claus Denk
Now I have another information about this issue. I went into the Server Explorer where one of my mysql data connections was messed up (see screen shot). I deleted this connection and now the data source configuration wizard works again. I still get the "Failed to add relation(s)" error however and have not been able to find any information about it.
[13 Mar 2009 0: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".
[10 Apr 2009 10:54] Tonci Grgin
It works

Attachment: bug41517-1.jpg (image/jpeg, text), 93.29 KiB.

[10 Apr 2009 10:55] Tonci Grgin
Don't know what to say, it just works on SP2 for me...

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual Basic 2008   91605-270-7603507-60440
Microsoft Visual Basic 2008

Microsoft Visual C# 2008   91605-270-7603507-60440
Microsoft Visual C# 2008

Microsoft Visual C++ 2008   91605-270-7603507-60440
Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office   91605-270-7603507-60440
Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Web Developer 2008   91605-270-7603507-60440
Microsoft Visual Web Developer 2008

Crystal Reports    AAJ60-G0MSA4K-68000CF
Crystal Reports Basic for Visual Studio 2008

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899)   KB944899
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282)   KB945282
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040)   KB946040
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308)   KB946308
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344)   KB946344
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581)   KB946581
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171)   KB947171
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947171.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173)   KB947173
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180)   KB947180
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947180.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540)   KB947540
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789)   KB947789
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127)   KB948127
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140)   KB945140
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888)   KB947888
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947888.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB948484)   KB948484
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948484.

MySQL Connector/Net   5.2
Data design and management tools for MySQL.  Copyright © 2007 MySQL AB
[10 Apr 2009 10:56] Tonci Grgin
Guys, there is probably some problem registering to GAC/VS, possibly cause of UAC or something...