we are building a system with using ASP.NET and C# connecting with Oracle 9i.
We are facing a major issues right now. There are 2 problems. They are as follows:
1. We are getting session time-out errors like every 5 min. from Oracle when we log on and try to do someting with the system. So, we have to log back on to continue working with it. However, we don't get session time-out error when we directly log on to the Oracle. So, I think it is the .net and Oracle connection error.
2. We get ORA - 01458 error randomly. It seems like we get the error with the web page that has a lot of complexity in it.
It is said in this article that the problem is caused when there is more than one cursor returned by an oracle connection... but the error seems to appear after the second call that return a cursor. This patch resolve this problem.
This article was previously published under Q329163
With Microsoft .NET Managed Provider for Oracle, when you try to execute an Oracle stored procedure that has more than one output parameter of data type Number, you receive the following error message:
ORA-01458: invalid length inside variable character string
This error occurs because of a bug in Microsoft .NET Managed Provider for Oracle.
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next that contains this fix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: http://support.microsoft.com/default...EN-US;CNTACTMS
NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The P1 version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date Time Version Size File name
19-Sep-2002 21:57 1.0.1080.0 290,816 System.data.oracleclient.dll