Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   Typed DataSet - Migration to ODP.NET (http://www.go4expert.com/forums/typed-dataset-migration-odpnet-t19769/)

Ptero 15Oct2009 13:37

Typed DataSet - Migration to ODP.NET
We're using a lot of typed datasets in ASP.NET application, most of them have many tables+adapters and each table has some functions that call Oracle Stored Procedures. It works using System.Data.OracleClient. Our purpose is to make a migration to ODP.NET ( Oracle.DataAccess ). If i build a new typed dataset, it works fine with ODP. For migration of existing code i changed all references from System.Data.OracleClient to Oracle.DataAccess ( Both in Project References and also in Designer.cs files (manually)).
But existing code falls on Adapter get property - InitAdapter() function. The error is: "Value does not fall within the expected range". Any suggestions, please? Many thanks in advance for your help.

All times are GMT +5.5. The time now is 14:02.