Very stupid error

ultimate-tester

Newcomer
Joined
Nov 13, 2009
Messages
2
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.

Code:
\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:

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
 
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.
 
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.
 
Back
Top