odp.net-managed

Oracle.ManagedDataAccess The system cannot find the file specified

孤者浪人 提交于 2020-01-03 05:34:09
问题 In my website project built on .net 3.5, when I add reference to the Oracle.ManagedDataAccess.dll by adding this in the web.config <add assembly="Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/> it give this error Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser

pass array of objects to oracle stored procedure using ODP.Net managed client

。_饼干妹妹 提交于 2020-01-01 17:25:10
问题 I have following Employee class in my web API. public class Employee { public string Name { get; set; } public string City { get; set; } } my web API receives the list of 50 employee records on each request and it needs to update those details in Oracle database. I followed the same approach of passing array of Integers to Oracle stored procedure and tried the below approach. Created following type and stored procedure in Oracle. --base type create or replace type EMPTEST AS OBJECT ( Name

Parser Error Message: Failed to generate code. Exception of type 'System.Data.Design.InternalException' was thrown

◇◆丶佛笑我妖孽 提交于 2019-12-18 07:23:05
问题 I am getting this error when I am using ODP.net The error is appearing when I include a connection <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="BannerCS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="BannerCS (Web.config)" ParameterPrefix=":" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.BannerCS.ConnectionString" Provider="Oracle.ManagedDataAccess.Client" /> in the .XSD file in the

ODP.NET Managed tnsnames.ora IFILE references

柔情痞子 提交于 2019-12-11 07:18:52
问题 Does Managed ODP.NET x64 12.1.0.2 tnsname.ora support using IFILE?? I cannot get it to work. For example, with the normal "thick client" unmanaged Oracle client that I have had installed for years, I used to have my tnsnames.ora file with one line in it: IFILE=C:\OracleDataSources\tnsnames.MAIN And then the C:\OracleDataSources\tnsnames.MAIN file contains IFILE references to config files that contain the actual data source definitions for each of the other Oracle instances within our

EF 5 with oracle edmx StoreGeneratedPattern=“Identity” issue

丶灬走出姿态 提交于 2019-12-08 08:39:33
问题 We are using EF5 with Oracle[Oracle.manageddataaccess.client].Whenever I create/refresh edmx.I loose the property StoreGeneratedPattern="Identity". I had to set this manually for each and every Entity. Is there any way to automate it or any other work around ? am I missing something here ? We use VS2013,Below is the sample entity in the edmx after create. <EntityType Name="ADDRESS"> <Key> <PropertyRef Name="ADDRESS_ID" /> </Key> <Property Name="ADDRESS_ID" Type="number" Precision="38" Scale=

Problems switching .NET project from unmanaged to managed ODP.NET assemblies

痴心易碎 提交于 2019-12-06 12:03:06
问题 I'm trying to switch my .NET project over to the manage oracle to make deployments easier. However I'm getting the following error in my test Win Server 2013 environment: Unable to determine the provider name for connection of type 'Oracle.ManagedDataAccess.Client.OracleConnection'. Steps I've taken so far: Removed all Oracle.DataAccess dll's and references from the solution Added the Oracle Data Provider for .NET (ODP.NET) Managed Driver in the NuGet package manager Switched all Imports

Problems switching .NET project from unmanaged to managed ODP.NET assemblies

与世无争的帅哥 提交于 2019-12-04 17:37:17
I'm trying to switch my .NET project over to the manage oracle to make deployments easier. However I'm getting the following error in my test Win Server 2013 environment: Unable to determine the provider name for connection of type 'Oracle.ManagedDataAccess.Client.OracleConnection'. Steps I've taken so far: Removed all Oracle.DataAccess dll's and references from the solution Added the Oracle Data Provider for .NET (ODP.NET) Managed Driver in the NuGet package manager Switched all Imports Oracle.DataAccess statements over to Imports Oracle.ManagedDataAccess I'm not getting any build errors, and

pass array of objects to oracle stored procedure using ODP.Net managed client

折月煮酒 提交于 2019-12-04 17:21:08
I have following Employee class in my web API. public class Employee { public string Name { get; set; } public string City { get; set; } } my web API receives the list of 50 employee records on each request and it needs to update those details in Oracle database. I followed the same approach of passing array of Integers to Oracle stored procedure and tried the below approach. Created following type and stored procedure in Oracle. --base type create or replace type EMPTEST AS OBJECT ( Name varchar2(50), City varchar2(50) ); --package create or replace PACKAGE pkgUDFArray_Test AS type "T_EMPUDF

ODP.net managed driver throws ORA-12570: Network Session: Unexpected packet read error

﹥>﹥吖頭↗ 提交于 2019-12-04 08:06:32
问题 In one of our products we retrieve data from the Oracle database using stored procedures using the ODP.net managed driver. Every now and then (roughly every 1000 queries) we get the following exception: (ORA-12570: Network Session: Unexpected packet read error) ---> Oracle.ManagedDataAccess.Client.OracleException: ORA-12570: Network Session: Unexpected packet read error ---> OracleInternal.Network.NetworkException: ORA-12570: Network Session: Unexpected packet read error ---> System