GLUMAKR Posted March 20, 2007 Posted March 20, 2007 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! :( Quote
Administrators PlausiblyDamp Posted March 20, 2007 Administrators Posted March 20, 2007 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 :() Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.