I am getting the below error when connecting to Oracle using OraOLEDB. I have tried several options to resolve this. I installed Oracle drivers for OLE DB 9.2.0.7. I reinstalled Oracle client, I gave read, execute access to home directory etc. None of them seem to have resolved this problem. If you have any ideas please let me know.
---------
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 'OraOLEDB' provider is not registered on the local machine.
Source Error:
Line 21:
Line 22: dataAdapter.Fill(data, "USERS")
-------------
The complete error stack is:
[InvalidOperationException
: The 'OraOLEDB' provider is not registered on the local machine.]
System.Data.OleDb.OleDbSer
vicesWrapp
er.GetData
Source(Ole
DbConnecti
onString constr, DataSourceWrapper& datasrcWrapper) +242
System.Data.OleDb.OleDbCon
nectionInt
ernal..cto
r(OleDbCon
nectionStr
ing constr, OleDbConnection connection) +119
System.Data.OleDb.OleDbCon
nectionFac
tory.Creat
eConnectio
n(DbConnec
tionOption
s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +87
System.Data.ProviderBase.D
bConnectio
nFactory.C
reateNonPo
oledConnec
tion(DbCon
nection owningConnection, DbConnectionPoolGroup poolGroup) +27
System.Data.ProviderBase.D
bConnectio
nFactory.G
etConnecti
on(DbConne
ction owningConnection) +49
System.Data.ProviderBase.D
bConnectio
nClosed.Op
enConnecti
on(DbConne
ction outerConnection, DbConnectionFactory connectionFactory) +89
System.Data.OleDb.OleDbCon
nection.Op
en() +19
System.Data.Common.DbDataA
dapter.Fil
lInternal(
DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +118
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +139
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, String srcTable) +82
ASP.updatedatabase_test1_a
spx.Page_L
oad(Object
Sender, EventArgs E) in C:\UpdateDatabase-Test1.as
px:23
System.Web.Util.CalliHelpe
r.EventArg
FunctionCa
ller(IntPt
r fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEvent
HandlerDel
egateProxy
.Callback(
Object sender, EventArgs e) +45
System.Web.UI.Control.OnLo
ad(EventAr
gs e) +80
System.Web.UI.Control.Load
Recursive(
) +49
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +3743
Start Free Trial