Link to home
Start Free TrialLog in
Avatar of mathieu_cupryk
mathieu_cuprykFlag for Canada

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.OdbcException: 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\Parameters.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.OdbcConnection.Open() +638
   ASP.Parameters_aspx.BindData() in c:\inetpub\wwwroot\MSPOS\Parameters.aspx:88
   ASP.Parameters_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\MSPOS\Parameters.aspx:73
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731

 

ASKER CERTIFIED SOLUTION
Avatar of chedgey
chedgey
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial