473,705 Members | 2,539 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 9648
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
5420
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
5285
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
2777
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
8830
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
5664
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
15403
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
1642
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
1761
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
6453
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
8771
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8691
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9275
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9140
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...
1
9038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8981
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6607
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
4705
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3140
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

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.