oracle-manageddataaccess

Error (ORA-21700) with Table Operator after updating to Oracle 12.2 from 12.1

廉价感情. 提交于 2019-12-06 00:09:49
问题 Our Oracle database was recently updated from 12.1.0.2 to 12.2.0.1 + patch set update 20180417. Ever since the update we are getting the following error when calling a plsql procedure: ORA-21700: object does not exist or is marked for delete We have narrowed down the issue and it seems to be caused by using the table operator on an associative array defined within the package. All my research shows that what we are doing was introduced in 12.1 and should still work in 12.2. Below is a

Table Does Not Exist while using EF 6 and Oracle.ManagedDataAccess

拥有回忆 提交于 2019-12-05 10:46:59
I am creating a MVC application using EF 6.0.0.0 and ODP.Net Oracle.ManagedDataAccess version 4.121.2.0 for the data access. In my Controller called EmployeeController , I have the following code snippet: public ActionResult Details(int id) { try { EmployeeContext employeeContext = new EmployeeContext(); Employee employee = employeeContext.Employees.Single(x => x.Id == id); //Here the exception occurs! return View(employee); } catch (Exception e) { return View(e); } } And when I load the Employee/Details.cshtml page I got the following Exception: "An error occurred while executing the command

Error (ORA-21700) with Table Operator after updating to Oracle 12.2 from 12.1

给你一囗甜甜゛ 提交于 2019-12-04 04:55:35
Our Oracle database was recently updated from 12.1.0.2 to 12.2.0.1 + patch set update 20180417. Ever since the update we are getting the following error when calling a plsql procedure: ORA-21700: object does not exist or is marked for delete We have narrowed down the issue and it seems to be caused by using the table operator on an associative array defined within the package. All my research shows that what we are doing was introduced in 12.1 and should still work in 12.2. Below is a simplified version of a procedure that is failing along with the related type definition. It is being called

How to properly close ODP.net connection : dispose() or close()?

徘徊边缘 提交于 2019-12-01 11:19:40
this is my powershell code : [void][System.Reflection.Assembly]::LoadFile("C:\DLL\Oracle.ManagedDataAccess.dll") $OracleConnexion = New-Object Oracle.ManagedDataAccess.Client.OracleConnection('User Id=test;Password="test";Data Source=10.2.2.1/TEST') $TimeOut = 60 $OracleConnexion.Open() $Query=$OracleConnexion.CreateCommand() $Query.CommandText="Select * FROM TEST" $Query.CommandTimeout = $Timeout $ExecuteRequete=$Requete.ExecuteReader() while ($ExecuteRequete.Read()) { $SiebelLastRecord += $ExecuteRequete.GetDateTime(0).ToString() } $OracleConnexion.Close() So I'm opening ODP.NET connection

How to properly close ODP.net connection : dispose() or close()?

。_饼干妹妹 提交于 2019-12-01 08:25:53
问题 this is my powershell code : [void][System.Reflection.Assembly]::LoadFile("C:\DLL\Oracle.ManagedDataAccess.dll") $OracleConnexion = New-Object Oracle.ManagedDataAccess.Client.OracleConnection('User Id=test;Password="test";Data Source=10.2.2.1/TEST') $TimeOut = 60 $OracleConnexion.Open() $Query=$OracleConnexion.CreateCommand() $Query.CommandText="Select * FROM TEST" $Query.CommandTimeout = $Timeout $ExecuteRequete=$Requete.ExecuteReader() while ($ExecuteRequete.Read()) { $SiebelLastRecord +=

“No credentials are available in the security package” when connection to Oracle is performed

风格不统一 提交于 2019-11-29 23:35:08
问题 The tests that performs connection to Oracle database started fail with AuthenticationException after last Windows update. The message and stack trace are provided below: <ErrorInfo> <Message>Test method threw exception: System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> Oracle.ManagedDataAccess.Client.OracleException: Oracle Communication: Failed to connect to server or failed to parse connect string ---> OracleInternal.Network.NetworkException: Oracle