No error information available: E_UNEXPECTED(0x8000FFFF).

  • Thread starter Thread starter Samer Ibrahim
  • Start date Start date
S

Samer Ibrahim

Hello,
Has anyone ever seen this error before:

No error information available: E_UNEXPECTED(0x8000FFFF).
at System.Data.OleDb.OleDbConnection.ProcessResults
(Int32 hr)
at System.Data.OleDb.OleDbConnection.InitializeProvider
()
at System.Data.OleDb.OleDbConnection.Open()
at System.Data.Common.DbDataAdapter.QuietOpen
(IDbConnection
connection, ConnectionState& originalState)
at System.Data.Common.DbDataAdapter.Fill(Object data,
Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand
command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet
dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand
command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet
dataSet)

I get it while trying to connect to Oracle but the kicker
is it only
happens sometimes. Everything works fine and dandy
initially but then
the error starts popping up and I have to restart my app
to be able to
use a connection again. It seems to me that it occurs if
I run the
code, wait a long peroid of time, then run the code
again. It's
almost as if it has something to do with the connection
pooling.

Here's my code:
DataSet = new DataSet();

string oracleConnectionString
= "Provider=OraOLEDB.Oracle;Data
Source=" + DatabaseServer + ";User ID=;Password=;APP=" +
Assembly.GetAssembly(typeof(Command)).FullName + ";WKID=" +
Dns.GetHostName();

using (OleDbConnection oracleConn = new
OleDbConnectio(oracleConnectionString))
{
OleDbDataAdapter oleDataAdpt = new OleDbDataAdapter
(CommandText,
oracleConn);
oleDataAdpt.Fill(DataSet); //ERROR OCCURS ON THIS
LINE
}

Any ideas?

Thanks,
Sam

Samer Ibrahim
http://weblogs.asp.net/SIbrahim
 
Back
Top