OleDb not registered on local machine
- From: "H. Williams" <hwilliams@xxxxxxxxxx>
- Date: Sat, 7 Oct 2006 23:25:51 -0700
I have an ASP.NET web app running on my local machine (localhost). Here is
the database code:
Const DBCONNECTION As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source="
Const DATABASEPATH As String = "C:\test.mdb"
Dim objConnection As New OleDbConnection(DBCONNECTION + DATABASEPATH)
Dim objCommand As New OleDbCommand(sQuery, objConnection)
objConnection.Open()
It produces the following error:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local
machine.
If I put the same code into a Windows vb.net application on the same machine
it works fine. If I put the same code into an ASP.Net web app on our
Windows 2000 web server it works OK.
I just can't get it to work on my local XP machine. I also tried it on
another computer running XP and the same error occured.
Any ideas?
Thanks.
.
- Follow-Ups:
- Re: OleDb not registered on local machine
- From: H. Williams
- Re: OleDb not registered on local machine
- Prev by Date: DBPROP_IRowsetLocate
- Next by Date: Re: OleDb not registered on local machine
- Previous by thread: DBPROP_IRowsetLocate
- Next by thread: Re: OleDb not registered on local machine
- Index(es):
Loading