odp.net

Oracle Client and ODP.NET version compatibility

两盒软妹~` 提交于 2021-02-11 15:23:52
问题 We have upgraded Oracle to 19C and also upgraded the Oracle.ManagedDataAccess package to 19.6. However, when we try to open our application on Oracle database 12 then it is showing error, as some machines still has Oracle 12 (Old) database. can someone please share the Oracle Data Provider (ODP.Net) compatibility details with Oracle Clients? 回答1: The error message does not indicate any incompatibility. Looks like the Oracle.ManagedDataAccess driver does not find your tnsnames.ora file Have a

How to - Get Oracle.ManagedAccess driver to work with Installed VB.Net Application

强颜欢笑 提交于 2021-02-10 18:00:59
问题 I have a 32bit Application to Install on Win10 (x64 OS). All my Oracle functionality works from within the debugger. Oracle.ManagedAccess driver is correctly registered in the VS Projects and the application works as expected from within the debugger. However, when I build my WiX-Based install pack and run the installed application I get the following error: What am I missing here? In the previous VS2013 incarnation of the code as recently as last month using the ODP.NET driver 'Oracle

How to - Get Oracle.ManagedAccess driver to work with Installed VB.Net Application

限于喜欢 提交于 2021-02-10 17:59:24
问题 I have a 32bit Application to Install on Win10 (x64 OS). All my Oracle functionality works from within the debugger. Oracle.ManagedAccess driver is correctly registered in the VS Projects and the application works as expected from within the debugger. However, when I build my WiX-Based install pack and run the installed application I get the following error: What am I missing here? In the previous VS2013 incarnation of the code as recently as last month using the ODP.NET driver 'Oracle

ODP.net Oracle Decimal Number precision problem when filling a dataset. Exception: Arithmetic operation resulted in an overflow

故事扮演 提交于 2021-02-07 11:28:43
问题 I am working in c# .net 2 (Visual Studio 2005 SP1) attempting to fill a dataset with the results from a select * from table from an Oracle10g database. The .net framework, IDE and database cannot be changed at this client site. I'm connecting using the ODP.net provider the dll version is 2.102.2.20 When I run the fill command I get an Exception: Arithmetic operation resulted in an overflow Also if I attempt to view the offending column in the Visual Studio designer (Show Table Data) I get for

ORA_ASPNET_MEM_GETALLUSERS must be declared ASP.NET MVC Oracle Providers

雨燕双飞 提交于 2021-01-29 08:04:52
问题 As per this tutorial from Oracle, I am trying to set up my application to use the Oracle Membership, Role and state providers. While in the process of setting up the membership, using the ASP.NET Admin tool, I get the following error when clicking on the "Security" tab: ORA-06550: line 1, column 15: PLS-00201: identifier 'ORA_ASPNET_MEM_GETALLUSERS' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored I can confirm that the identifier DOES in fact exist in the DB. I am

ORA_ASPNET_MEM_GETALLUSERS must be declared ASP.NET MVC Oracle Providers

本小妞迷上赌 提交于 2021-01-29 08:03:15
问题 As per this tutorial from Oracle, I am trying to set up my application to use the Oracle Membership, Role and state providers. While in the process of setting up the membership, using the ASP.NET Admin tool, I get the following error when clicking on the "Security" tab: ORA-06550: line 1, column 15: PLS-00201: identifier 'ORA_ASPNET_MEM_GETALLUSERS' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored I can confirm that the identifier DOES in fact exist in the DB. I am

ODP.NET Core - Scaffold DB-Context

我与影子孤独终老i 提交于 2020-07-06 12:11:10
问题 I am working with oracles odp.net core beta 3. Specifically, The dll is Oracle.ManagedDataAccess.Core.2.12.0-beta3. The project is to create a web api that sits on top of an oracle instance. My question - Is the command "Scaffold-DBContext" supported with this provider. If so what am I doing wrong... I've made the attempt using a connection string similar to the following. Data Source={databasename}/{TNS}.domain.local; User ID={UserName};Password={Password}; And the actual command in the

ODP.NET Core - Scaffold DB-Context

≡放荡痞女 提交于 2020-07-06 12:10:09
问题 I am working with oracles odp.net core beta 3. Specifically, The dll is Oracle.ManagedDataAccess.Core.2.12.0-beta3. The project is to create a web api that sits on top of an oracle instance. My question - Is the command "Scaffold-DBContext" supported with this provider. If so what am I doing wrong... I've made the attempt using a connection string similar to the following. Data Source={databasename}/{TNS}.domain.local; User ID={UserName};Password={Password}; And the actual command in the

Entity Framework Oracle Timestamp

纵饮孤独 提交于 2020-06-24 16:46:51
问题 We have T_SC_SERVICE table with a INSTANCE_ID column which is type Timestamp(6) in Oracle. I'm using .NET Framework 4.5, Entity Framework 6 and DB first approaches. I'm trying to Add and Select item from this table with using LINQ. Insert with LINQ as shown below: Service newItem = new Service() { InstanceId = DateTime.Now, }; this.ObjectSet.Add(newItem); this.SaveChanges(); That LINQ generates SQL as below. As you can see INSTANCE_ID parameter is send as a DateTime as expected. insert into