Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Have you seen this one before? I'm wondering if my driver is corrupted or something.

 

		string dataconnectionstring ="Provider=OraOLEDB.Oracle;Data Source=-REMOVED-;User ID=-REMOVED-;Password=-REMOVED-";

		OleDbConnection dCmqToDB = new OleDbConnection(dataconnectionstring);
		OleDbDataAdapter dAmqToDB = new OleDbDataAdapter();


		try
		{

			dCmqToDB.Open();
		}

		catch (Exception ex)
		{
			MessageBox.Show(ex.Message);
		}

 

Here is what I get from the exception.

 


   [system.Data.OleDb.OleDbException]: {System.Data.OleDb.OleDbException}
   System.Object: {System.Data.OleDb.OleDbException}
   _className: null
   _COMPlusExceptionCode: -532459699
   _exceptionMethod: <undefined value>
   _exceptionMethodString: null
   _helpURL: null
   _HResult: -2147467259
   _innerException: { }
   _message: ""
   _remoteStackIndex: 0
   _remoteStackTraceString: null
   _source: null
   _stackTrace: {System.Array}
   _stackTraceString: null
   _xcode: -532459699
   _xptrs: 0
   HelpLink: null
   HResult: -2147467259
   InnerException: { }
   Message: "틏俭㶜�"
   Source: "OraOLEDB"
   StackTrace: "   at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)\r\n   at System.Data.OleDb.OleDbConnection.InitializeProvider()\r\n   at System.Data.OleDb.OleDbConnection.Open()\r\n   at DBLookup.frmDBLookup.frmDBLookup_Load(Object sender, EventArgs e) in c:\\mycode\\dblookup\\dblookup.cs:line 95"
   TargetSite: {System.Reflection.RuntimeMethodInfo}

 

Your help is appreciated! Thanks! :(

  • Administrators
Posted
It might be worth re-installing the Oracle OleDB drivers (or trying the Managed Oracle libraries) as -532459699 is a generic COM error code that could well indicate a problem with the installation (it could also indicate any number of other COM related issues though :()

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...