Click here to Skip to main content
15,917,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Guys,

I have just reinstalled my PC with Win 7 64-bit due to being sick of Vista and it's glitches....

The problem is Visual Studio 2008 now throws an error with a web application project

BC30002: Type "OleDb.OleDbConnection" is not defined.

Even though System.Data has been included as a reference. The IDE doesn't throw the error, it displays in the Internet explorer when it runs in Debug.

Any thoughts?

Cheers Tim
Posted

1 solution

System.data has been referenced, still you should add this line at top:

imports system
imports system.data
imports system.data.oledb


Hope that helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900