Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all guys.

 

I just registred here. Maybe you guys know the answer on my very stupid error!

Btw. I'm just a beginner in visual basic. I'm an advanced c++ programmer.

 

\RegSys.vb(27) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbConnection'. Add one to your project.
\RegSys.vb(28) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbDataAdapter'. Add one to your project.
\RegSys.vb(30) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbCommand'. Add one to your project.
\RegSys.vb(47) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbException'. Add one to your project.
\RegSys.vb(55) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbDataReader'. Add one to your project.
\RegSys.vb(74) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbException'. Add one to your project.
\RegSys.vb(78) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbDataAdapter'. Add one to your project.
\RegSys.vb(80) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbCommand'. Add one to your project.
\RegSys.vb(85) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbDataReader'. Add one to your project.
\RegSys.vb(91) : error BC30007: Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbDataAdapter'. Add one to your project.

 

As you may/can see, these are ALL reference errors.

I'm making a simple program which connects to the mysql database of my forum, logs in, and gives you access to the controls.

 

I DID reference the DLL though, here you can see that:

 

http://img269.imageshack.us/img269/364/referenced.png

 

What I've tried:

 

- Reinstalling the DLL

- Restarting PC

- Re-referencing (like 20 times)

 

I hope you have a simple fix for this, cuz I know it's really simple :rolleyes:

 

~ Ultimate-Tester

  • Leaders
Posted
MySql.Data is not the same as System.Data. On my machine, System.Data.Dll (2.0) is located at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll.
[sIGPIC]e[/sIGPIC]
  • Leaders
Posted
Noob or not, stupid mistakes are a part of programming. Once in a while I'll find myself spending a solid hour trying to debug a problem only to realize that i just typed a file path wrong or something along those lines.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...