473,883 Members | 2,121 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.net and Oracle error System.Data.Ole Db.OleDbExcepti on

Hello all,
My asp.net web application works on my machine but I get the following error
on our test web server, There is only one oracle home on the test server.
Does anyone know how to resolve this error?

Oracle error occurred, but error message could not be retrieved from Oracle.
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.Data.Ole Db.OleDbExcepti on: Oracle error occurred,
but error message could not be retrieved from Oracle.

Source Error:
Line 220: cmBS.CommandTyp e = CommandType.Sto redProcedure;
Line 221: cmBS.CommandTex t =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
Line 222:
Line 223: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 224: daBS.SelectComm and = cmBS;
Source File: c:\inetpub\wwwr oot\Myfile\myas pxpage.aspx.cs Line: 222

Stack Trace:
[OleDbException (0x80004005): Oracle error occurred, but error message could
not be retrieved from Oracle.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr) +20
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider() +57
System.Data.Ole Db.OleDbConnect ion.Open() +203
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState) +44
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable) +36
WebReportMenu.B lanketContract. getData() in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:222
WebReportMenu.B lanketContract. Page_Load(Objec t sender, EventArgs e) in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:102
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +750


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032
Nov 20 '05 #1
5 9668
Is this how you use stored proc when using ORACLE "cmBS.CommandTe xt =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
"?
And are you sure your connection string is ok.
"petro" <pe***@discussi ons.microsoft.c om> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hello all,
My asp.net web application works on my machine but I get the following error on our test web server, There is only one oracle home on the test server.
Does anyone know how to resolve this error?

Oracle error occurred, but error message could not be retrieved from Oracle. 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.Data.Ole Db.OleDbExcepti on: Oracle error occurred, but error message could not be retrieved from Oracle.

Source Error:
Line 220: cmBS.CommandTyp e = CommandType.Sto redProcedure;
Line 221: cmBS.CommandTex t =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
Line 222:
Line 223: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 224: daBS.SelectComm and = cmBS;
Source File: c:\inetpub\wwwr oot\Myfile\myas pxpage.aspx.cs Line: 222

Stack Trace:
[OleDbException (0x80004005): Oracle error occurred, but error message could not be retrieved from Oracle.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr) +20
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider() +57
System.Data.Ole Db.OleDbConnect ion.Open() +203
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState) +44
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecor d, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable) +36 WebReportMenu.B lanketContract. getData() in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:222
WebReportMenu.B lanketContract. Page_Load(Objec t sender, EventArgs e) in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:102
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +750


-------------------------------------------------------------------------- ------ Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET Version:1.1.432 2.2032

Nov 20 '05 #2
First let me say, thanks for responding any assistance is greatly appreciated
I have been struggling with this for days and this project was supposed be go
live by today!

Yes I do use OracleInstance. GETBLANKETSTATU S.procListBlank etStatus
and my application does work on my computer but it does not work when I move
it to a web server.
This is my connection string:
"provider=MSDAO RA; User Id=myUSER; Data Source=OracleDe v;
Password=myPass word;"

Here is some of my connection code:
OleDbCommand cmBS = new OleDbCommand();
cmBS.Connection = oCn;
cmBS.CommandTyp e = CommandType.Sto redProcedure;
cmBS.CommandTex t =
"OracleInstance .PIMA_GETBLANKE TSTATUS.pima_pr ocListBlanketSt atus";

OleDbDataAdapte r daBS = new OleDbDataAdapte r();
daBS.SelectComm and = cmBS;
daBS.AcceptChan gesDuringFill = false;
daBS.Fill(DS,"B LANKET_STATUS") ;
I have created a test app with different providers and when I use
OraOLEDB.Oracle I get an error.
This is the connections string
"provider=OraOL EDB.Oracle; User Id=myUSER; Data Source=OracleDe v;
Password=myPass word;"

This is the new error:
No error information available: REGDB_E_CLASSNO TREG(0x80040154 ).
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.Data.Ole Db.OleDbExcepti on: No error information
available: REGDB_E_CLASSNO TREG(0x80040154 ).

Source Error:

Line 40: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 41: daBS.SelectComm and = cmBS;
Line 42: daBS.Fill(DS,"B LANKET_STATUS") ;
Line 43:
Line 44: //this.ugTest.Dat aBind
Source File: c:\inetpub\wwwr oot\oraoledb_co nnection\webfor m1.aspx.cs
Line: 42

Stack Trace:

[OleDbException (0x80040154): No error information available:
REGDB_E_CLASSNO TREG(0x80040154 ).]

[InvalidOperatio nException: The 'OraOLEDB.Oracl e' provider is not registered
on the local machine.]
System.Data.Ole Db.OleDbConnect ion.CreateProvi derError(Int32 hr)
System.Data.Ole Db.OleDbConnect ion.CreateProvi der(OleDbConnec tionString
constr)
System.Data.Ole Db.OleDbConnect ion.Open()
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState)
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable)
OraOLEDB_Connec tion.WebForm1.P age_Load(Object sender, EventArgs e) in
c:\inetpub\wwwr oot\oraoledb_co nnection\webfor m1.aspx.cs:42
System.Web.UI.C ontrol.OnLoad(E ventArgs e)
System.Web.UI.C ontrol.LoadRecu rsive()
System.Web.UI.P age.ProcessRequ estMain()


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032


"Patrick.O. Ige" wrote:
Is this how you use stored proc when using ORACLE "cmBS.CommandTe xt =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
"?
And are you sure your connection string is ok.
"petro" <pe***@discussi ons.microsoft.c om> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hello all,
My asp.net web application works on my machine but I get the following

error
on our test web server, There is only one oracle home on the test server.
Does anyone know how to resolve this error?

Oracle error occurred, but error message could not be retrieved from

Oracle.
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.Data.Ole Db.OleDbExcepti on: Oracle error

occurred,
but error message could not be retrieved from Oracle.

Source Error:
Line 220: cmBS.CommandTyp e = CommandType.Sto redProcedure;
Line 221: cmBS.CommandTex t =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
Line 222:
Line 223: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 224: daBS.SelectComm and = cmBS;
Source File: c:\inetpub\wwwr oot\Myfile\myas pxpage.aspx.cs Line: 222

Stack Trace:
[OleDbException (0x80004005): Oracle error occurred, but error message

could
not be retrieved from Oracle.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr) +20
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider() +57
System.Data.Ole Db.OleDbConnect ion.Open() +203
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState) +44
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecor

d,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable)

+36
WebReportMenu.B lanketContract. getData() in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:222
WebReportMenu.B lanketContract. Page_Load(Objec t sender, EventArgs e) in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:102
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +750


--------------------------------------------------------------------------

------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;

ASP.NET
Version:1.1.432 2.2032


Nov 20 '05 #3
Petro trying going through this article at:-
http://www.c-sharpcorner.com/Code/20.../ODP.NET02.asp
Amd also:
http://www.microsoft.com/downloads/d...429-17dc-45ea-
bfb3-076d1c052524&di splaylang=en
Also see http://www.connectionstrings.com/ and try other providers
Hope that helps
Patrick

"petro" <pe***@discussi ons.microsoft.c om> wrote in message
news:73******** *************** ***********@mic rosoft.com...
First let me say, thanks for responding any assistance is greatly appreciated I have been struggling with this for days and this project was supposed be go live by today!

Yes I do use OracleInstance. GETBLANKETSTATU S.procListBlank etStatus
and my application does work on my computer but it does not work when I move it to a web server.
This is my connection string:
"provider=MSDAO RA; User Id=myUSER; Data Source=OracleDe v;
Password=myPass word;"

Here is some of my connection code:
OleDbCommand cmBS = new OleDbCommand();
cmBS.Connection = oCn;
cmBS.CommandTyp e = CommandType.Sto redProcedure;
cmBS.CommandTex t =
"OracleInstance .PIMA_GETBLANKE TSTATUS.pima_pr ocListBlanketSt atus";

OleDbDataAdapte r daBS = new OleDbDataAdapte r();
daBS.SelectComm and = cmBS;
daBS.AcceptChan gesDuringFill = false;
daBS.Fill(DS,"B LANKET_STATUS") ;
I have created a test app with different providers and when I use
OraOLEDB.Oracle I get an error.
This is the connections string
"provider=OraOL EDB.Oracle; User Id=myUSER; Data Source=OracleDe v;
Password=myPass word;"

This is the new error:
No error information available: REGDB_E_CLASSNO TREG(0x80040154 ).
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.Data.Ole Db.OleDbExcepti on: No error information
available: REGDB_E_CLASSNO TREG(0x80040154 ).

Source Error:

Line 40: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 41: daBS.SelectComm and = cmBS;
Line 42: daBS.Fill(DS,"B LANKET_STATUS") ;
Line 43:
Line 44: //this.ugTest.Dat aBind
Source File: c:\inetpub\wwwr oot\oraoledb_co nnection\webfor m1.aspx.cs
Line: 42

Stack Trace:

[OleDbException (0x80040154): No error information available:
REGDB_E_CLASSNO TREG(0x80040154 ).]

[InvalidOperatio nException: The 'OraOLEDB.Oracl e' provider is not registered on the local machine.]
System.Data.Ole Db.OleDbConnect ion.CreateProvi derError(Int32 hr)
System.Data.Ole Db.OleDbConnect ion.CreateProvi der(OleDbConnec tionString
constr)
System.Data.Ole Db.OleDbConnect ion.Open()
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState)
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable)
OraOLEDB_Connec tion.WebForm1.P age_Load(Object sender, EventArgs e) in
c:\inetpub\wwwr oot\oraoledb_co nnection\webfor m1.aspx.cs:42
System.Web.UI.C ontrol.OnLoad(E ventArgs e)
System.Web.UI.C ontrol.LoadRecu rsive()
System.Web.UI.P age.ProcessRequ estMain()


-------------------------------------------------------------------------- ------ Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET Version:1.1.432 2.2032


"Patrick.O. Ige" wrote:
Is this how you use stored proc when using ORACLE "cmBS.CommandTe xt =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
"?
And are you sure your connection string is ok.
"petro" <pe***@discussi ons.microsoft.c om> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hello all,
My asp.net web application works on my machine but I get the following

error
on our test web server, There is only one oracle home on the test server. Does anyone know how to resolve this error?

Oracle error occurred, but error message could not be retrieved from

Oracle.
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.Data.Ole Db.OleDbExcepti on: Oracle error

occurred,
but error message could not be retrieved from Oracle.

Source Error:
Line 220: cmBS.CommandTyp e = CommandType.Sto redProcedure;
Line 221: cmBS.CommandTex t =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
Line 222:
Line 223: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 224: daBS.SelectComm and = cmBS;
Source File: c:\inetpub\wwwr oot\Myfile\myas pxpage.aspx.cs Line: 222

Stack Trace:
[OleDbException (0x80004005): Oracle error occurred, but error message

could
not be retrieved from Oracle.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr) +20
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider() +57
System.Data.Ole Db.OleDbConnect ion.Open() +203
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection
connection, ConnectionState & originalState) +44
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32 startRecor d,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String
srcTable) +36
WebReportMenu.B lanketContract. getData() in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:222
WebReportMenu.B lanketContract. Page_Load(Objec t sender, EventArgs e)

in c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:102
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +750

--------------------------------------------------------------------------
------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;

ASP.NET
Version:1.1.432 2.2032


Nov 20 '05 #4
It sounds like you need to download the oraoledb driver from oracle and
install it on the server

The oledb driver is not part of the 'standard' oracle client install
package... It is only installed when you choose custom or a 'developer' type
install

The easiest way to tell if it's installed: go to start -> programs ->
oracle home x.xx -> application development -> OraOLEDB
Documentation.h tml... if that link does not exist, you don't have the driver
installed... (Of course there are other ways to figure it out, but that's
what I check first)

Go to technet.oracle. com and find your way to driver downloads... If you
have the client installation cd, you can probably custom install it from
there.... It Oledb for oracle is also installed when you install their .net
suite of tools...

If you can use oraoledb, I would stick with it; OO4O and ODP.net are better
for accessing oracle, but neither are easily portable to other db's (whereas
oracle's ole db driver is--codewise at least)....
"petro" <pe***@discussi ons.microsoft.c om> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hello all,
My asp.net web application works on my machine but I get the following
error
on our test web server, There is only one oracle home on the test server.
Does anyone know how to resolve this error?

Oracle error occurred, but error message could not be retrieved from
Oracle.
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.Data.Ole Db.OleDbExcepti on: Oracle error
occurred,
but error message could not be retrieved from Oracle.

Source Error:
Line 220: cmBS.CommandTyp e = CommandType.Sto redProcedure;
Line 221: cmBS.CommandTex t =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
Line 222:
Line 223: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 224: daBS.SelectComm and = cmBS;
Source File: c:\inetpub\wwwr oot\Myfile\myas pxpage.aspx.cs Line: 222

Stack Trace:
[OleDbException (0x80004005): Oracle error occurred, but error message
could
not be retrieved from Oracle.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr) +20
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider() +57
System.Data.Ole Db.OleDbConnect ion.Open() +203
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState) +44
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32
startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable)
+36
WebReportMenu.B lanketContract. getData() in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:222
WebReportMenu.B lanketContract. Page_Load(Objec t sender, EventArgs e) in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:102
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +750


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
ASP.NET
Version:1.1.432 2.2032

Nov 20 '05 #5
We got it working! The system admisinstrator downloaded the current MDAC and
uninstalled and reinstalled Oracle and now it works. Thanks for your replies.

"Eric" wrote:
It sounds like you need to download the oraoledb driver from oracle and
install it on the server

The oledb driver is not part of the 'standard' oracle client install
package... It is only installed when you choose custom or a 'developer' type
install

The easiest way to tell if it's installed: go to start -> programs ->
oracle home x.xx -> application development -> OraOLEDB
Documentation.h tml... if that link does not exist, you don't have the driver
installed... (Of course there are other ways to figure it out, but that's
what I check first)

Go to technet.oracle. com and find your way to driver downloads... If you
have the client installation cd, you can probably custom install it from
there.... It Oledb for oracle is also installed when you install their .net
suite of tools...

If you can use oraoledb, I would stick with it; OO4O and ODP.net are better
for accessing oracle, but neither are easily portable to other db's (whereas
oracle's ole db driver is--codewise at least)....
"petro" <pe***@discussi ons.microsoft.c om> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hello all,
My asp.net web application works on my machine but I get the following
error
on our test web server, There is only one oracle home on the test server.
Does anyone know how to resolve this error?

Oracle error occurred, but error message could not be retrieved from
Oracle.
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.Data.Ole Db.OleDbExcepti on: Oracle error
occurred,
but error message could not be retrieved from Oracle.

Source Error:
Line 220: cmBS.CommandTyp e = CommandType.Sto redProcedure;
Line 221: cmBS.CommandTex t =
"OracleInstance .GETBLANKETSTAT US.procListBlan ketStatus";
Line 222:
Line 223: OleDbDataAdapte r daBS = new OleDbDataAdapte r();
Line 224: daBS.SelectComm and = cmBS;
Source File: c:\inetpub\wwwr oot\Myfile\myas pxpage.aspx.cs Line: 222

Stack Trace:
[OleDbException (0x80004005): Oracle error occurred, but error message
could
not be retrieved from Oracle.]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr) +20
System.Data.Ole Db.OleDbConnect ion.InitializeP rovider() +57
System.Data.Ole Db.OleDbConnect ion.Open() +203
System.Data.Com mon.DbDataAdapt er.QuietOpen(ID bConnection connection,
ConnectionState & originalState) +44
System.Data.Com mon.DbDataAdapt er.FillFromComm and(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, Int32
startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Com mon.DbDataAdapt er.Fill(DataSet dataSet, String srcTable)
+36
WebReportMenu.B lanketContract. getData() in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:222
WebReportMenu.B lanketContract. Page_Load(Objec t sender, EventArgs e) in
c:\inetpub\wwwr oot\webreportme nu\blanketcontr act.aspx.cs:102
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +750


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
ASP.NET
Version:1.1.432 2.2032


Nov 21 '05 #6

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

Similar topics

3
5426
by: G.Esmeijer | last post by:
Friends, The following code works fin. BUT... after a >> couple times<< this code is used is a class it comes with an error saying unhandled System.Data.OleDb.OleDbException' occurred in system.data.dll Any suggestions what could be wrong.
0
5297
by: silesius | last post by:
I've been using VS 2003 to develop a webapplication using C#. Today I exported the application to a remote webserver I begun experiencing problems. It's a simple application that retrieves some information from an Access database. It worked fine when I ran on my computer. I use a parameterized query to retrieve some customer specific information. Customer logs in, I store the username they log in with in the session state and on the...
0
2792
by: silesius | last post by:
I've been using VS.NET 2003 to develop a webapplication using C#. Today I exported the application to another webserver I begun experiencing problems. It's a simple application that retrieves some information from an Access database. It worked fine when I ran on my home computer. I use a datagrid witha a dataset and a parameterized query to retrieve some customer specific information. Customer logs in, I store the username they log in...
3
8843
by: Brian Foree | last post by:
I am developing an ASP.NET application that uses Access 2000 as its backend, and have just started getting the following error on 2 ASP.NET pages that had been working until late last week (and I don't think I made any changes to either page other than changing the user control that creates the header). Server Error in '/myApp' Application. ---------------------------------------------------------------------------- ----
0
5688
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at TryThis.Form1.save() in C:\Documents and Settings\Nick\My Documents\...
6
15427
by: Learner | last post by:
Hi there, I am trying to access the access database sitting at OleDbConnection oleConn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Crystal Reports\\Samples\\Database\\xtreme.mdb"); and create a crystal report using c#. I have done every thing but for some reaspon when i try running my webform its throing the below error.
0
1653
by: John G | last post by:
I have been using Oracle Helper to connect to my oracle 9i Db. When excute text it works fine, but when I try to execute a store procedure I get the following error message. I searched everyplace for a solution. System.Data.OleDb.OleDbException: ̸Ώ System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object& executeResult) +161
0
1791
ammoos
by: ammoos | last post by:
hi friends I am facing one problem while trying to open connection of Oledb Data for excel. I am getting the error "System.Data.OleDb.OleDbException: Unspecified error " i am using the code excelConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" + @"Data Source=" + excelFileName +"; Jet OLEDB:Engine Type=5;"+ "Extended Properties=\"Excel 5.0;HDR=Yes;ReadOnly=true \""; oledbExcelConn=new OleDbConnection(excelConnString);
1
6472
by: AlsonToh | last post by:
No value given for one or more required parameters. 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.Data.OleDb.OleDbException: No value given for one or more required parameters. Source Error: An unhandled exception was generated during the execution of the...
0
10766
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9588
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7978
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7136
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5807
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6007
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4622
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4230
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3241
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.