I follow this instruction:
http://msdn.microsoft.com/en-us/library/tw738475(v=VS.80).aspx to get a connection to my MS Access 2000 database. It went through the wizard with no errors.
when i run the application in debug mode; got the following error:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationExc
eption: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException
: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.]
System.Data.OleDb.OleDbSer
vicesWrapp
er.GetData
Source(Ole
DbConnecti
onString constr, DataSourceWrapper& datasrcWrapper) +1709247
System.Data.OleDb.OleDbCon
nectionInt
ernal..cto
r(OleDbCon
nectionStr
ing constr, OleDbConnection connection) +148
System.Data.OleDb.OleDbCon
nectionFac
tory.Creat
eConnectio
n(DbConnec
tionOption
s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +100
System.Data.ProviderBase.D
bConnectio
nFactory.C
reateNonPo
oledConnec
tion(DbCon
nection owningConnection, DbConnectionPoolGroup poolGroup) +45
System.Data.ProviderBase.D
bConnectio
nFactory.G
etConnecti
on(DbConne
ction owningConnection) +158
System.Data.ProviderBase.D
bConnectio
nClosed.Op
enConnecti
on(DbConne
ction outerConnection, DbConnectionFactory connectionFactory) +1649271
System.Data.OleDb.OleDbCon
nection.Op
en() +47
System.Data.Common.DbDataA
dapter.Qui
etOpen(IDb
Connection
connection, ConnectionState& originalState) +53
System.Data.Common.DbDataA
dapter.Fil
lInternal(
DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +188
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +573
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, String srcTable) +161
System.Web.UI.WebControls.
SqlDataSou
rceView.Ex
ecuteSelec
t(DataSour
ceSelectAr
guments arguments) +2782214
System.Web.UI.DataSourceVi
ew.Select(
DataSource
SelectArgu
ments arguments, DataSourceViewSelectCallba
ck callback) +27
System.Web.UI.WebControls.
DataBoundC
ontrol.Per
formSelect
() +261
System.Web.UI.WebControls.
BaseDataBo
undControl
.EnsureDat
aBound() +82
System.Web.UI.WebControls.
CompositeD
ataBoundCo
ntrol.Crea
teChildCon
trols() +95
System.Web.UI.Control.Ensu
reChildCon
trols() +146
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +61
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +224
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +224
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +3394
--------------------------
----------
----------
----------
----------
----------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
Thanks