mathieu_cupryk
asked on
Oracle error 5 in C# Odbc Driver.
I just migrated the application. I am having this error again. Can someone help me.
Server Error in '/MSPOS' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
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.Odbc.OdbcExcep tion: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
Source Error:
Line 86: DataSet ds = new DataSet();
Line 87: string commandString = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM _DIRECTION ) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH FROM TBPARAMETERS ORDER BY CM_REF";
Line 88: myConnection.Open();
Line 89: // Set the datagrid's datasource to the datareader and databind
Line 90: // Create a OdbcCommand object and assign the connection connect to the database
Source File: c:\inetpub\wwwroot\MSPOS\P arameters. aspx Line: 88
Stack Trace:
[OdbcException: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).]
System.Data.Odbc.OdbcConne ction.Open () +638
ASP.Parameters_aspx.BindDa ta() in c:\inetpub\wwwroot\MSPOS\P arameters. aspx:88
ASP.Parameters_aspx.Page_L oad(Object sender, EventArgs e) in c:\inetpub\wwwroot\MSPOS\P arameters. aspx:73
System.Web.UI.Control.OnLo ad(EventAr gs e) +67
System.Web.UI.Control.Load Recursive( ) +35
System.Web.UI.Page.Process RequestMai n() +731
Server Error in '/MSPOS' Application.
--------------------------
ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
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.Odbc.OdbcExcep
Source Error:
Line 86: DataSet ds = new DataSet();
Line 87: string commandString = @"SELECT GET_DT_TBDATATYPE(PM_TYPE)
Line 88: myConnection.Open();
Line 89: // Set the datagrid's datasource to the datareader and databind
Line 90: // Create a OdbcCommand object and assign the connection connect to the database
Source File: c:\inetpub\wwwroot\MSPOS\P
Stack Trace:
[OdbcException: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).]
System.Data.Odbc.OdbcConne
ASP.Parameters_aspx.BindDa
ASP.Parameters_aspx.Page_L
System.Web.UI.Control.OnLo
System.Web.UI.Control.Load
System.Web.UI.Page.Process
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.