473,321 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Connecting to MDB in DotNet Application

Hi

Newbie to DotNet ! I am trying to connect to a Access 2000 MDB . When I
try to drag the Table to the form I get the following error
You cannt usa an OLE DB Provider for ODBC Drivers
Suggestions?
Nov 20 '05 #1
2 1498
* "Meir Rotfleisch" <me**@mrrcomputers.cc> scripsit:
Newbie to DotNet ! I am trying to connect to a Access 2000 MDB . When I
try to drag the Table to the form I get the following error

You cannt usa an OLE DB Provider for ODBC Drivers


You will have to use the corresponding classes for Odbc, namely
'OdbcConnection' (available only in .NET 1.1). But I think it's
possible to access an Access database with OleDb too, have a look at
<http://www.connectionstrings.com> for more information.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Improve your quoting style:
<http://learn.to/quote>
<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #2
On Tue, 28 Oct 2003 16:49:56 +0200, "Meir Rotfleisch" <me**@mrrcomputers.cc> wrote:

¤ Hi
¤
¤ Newbie to DotNet ! I am trying to connect to a Access 2000 MDB . When I
¤ try to drag the Table to the form I get the following error
¤
¤
¤ You cannt usa an OLE DB Provider for ODBC Drivers

You should be using the Microsoft Jet 4.0 OLE DB Provider and not the OLE DB Provider for ODBC
Drivers. Modify the connection information on the Data Link Properties dialog so that your Access
Data Connection uses this provider.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ganesh Ramamurthy | last post by:
Hi Experts, I am using windows Authenication in my ASP.Net application. I have different LDAP's configured in my network and my applicaiton uses one of these LDAP users. How can I specify IIS to...
12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
3
by: GTDriver | last post by:
I'm trying to connect my application with a web service located on my own web server(localhost). I guess when the solution/proect is built it makes a file called 'Web...
4
by: John Devlon | last post by:
Hi, I would like to develop a small application that connects to news server . Does anyone know any good tutoral ? thanx John
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.