"Failed to Create Component" (whenever I drag any MySQL componet to form?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
davidkennedy
Posts: 18
Joined: Fri 07 Jul 2006 16:21

"Failed to Create Component" (whenever I drag any MySQL componet to form?

Post by davidkennedy » Thu 20 Jul 2006 18:15

Whenever I drag any of my MySQL components from the Toolbox to the Component Designer form I blow up with a message that starts out "Failed to create componet "component name" then goes on with a bunch of error messages that start
System.Runtime.InterOPservices.COMException (blah, blah).
Any component I drag give the same message.[/img]

jcrabtreesla
Posts: 12
Joined: Thu 20 Jul 2006 15:01

Post by jcrabtreesla » Thu 20 Jul 2006 18:38

I have recently went through these struggles as well. I found that I did not create a reference to the assembly. If you don't know what that means...

Right click on your project in the solution explorer
Select Add Reference
Then one by one add all the CoreLab MySQL references

This worked for me. Hope that helps.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Fri 21 Jul 2006 06:16

What version of Visual Studio do you use?
What version of MySQLDirect .NET do you use (Std, Pro, Mobile)?
Do you write class library (dll), executable application (exe), web project,
web project with dynamically compiled sources?

Post Reply