Strange Connection Error with OLEDB Oracle Connection

GLUMAKR

New member
Joined
Feb 25, 2005
Messages
1
Have you seen this one before? Im wondering if my driver is corrupted or something.

Code:
			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.

Code:
    [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! :(
 
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 :()
 
Back
Top