Oracle with EF6 - NET: Unknown error 1

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 8
Joined: Wed 19 Oct 2016 07:19

Oracle with EF6 - NET: Unknown error 1

Post by ogi » Tue 11 Jun 2019 05:27


I'm getting an "NET: Unknown error 1" exception. I'm unable to determine the cause of the error nor have I had any luck googling it. Stack trace:

Code: Select all

NET: Unknown error 1
   at Devart.Data.Oracle.DirectUtils.c(Int32 A_0)
   at Devart.Data.Oracle.d5.a(Byte A_0)
   at A_0)
   at Devart.Data.Oracle.d7.j()
   at Devart.Data.Oracle.OracleDataReader.Close()
   at Devart.Common.Entity.d.Close()
   at Devart.Common.Entity.d.a(Boolean A_0)
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.Finally()
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.ObjectQueryNestedEnumerator.Dispose()
   at System.Data.Entity.Internal.LazyEnumerator`1.Dispose()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
I'm using Devart.Data.Oracle 9.4.348.0 with EF6 to connect to an Oracle server. I cannot reproduce the bug in our development environment, but our customer is getting the same error every time they run the app. It pops up while loading a query result with about 70k rows and 200+ columns. Do you have any idea what could cause this exception?

Regards, O

Site Admin
Posts: 8663
Joined: Thu 14 Aug 2008 12:44

Re: Oracle with EF6 - NET: Unknown error 1

Post by Shalex » Fri 14 Jun 2019 13:59

Does the issue persist with the newest (9.7.770 06-Jun-19) build as well?

We cannot reproduce the problem in our environment. Please specify:
1) your connection string (mark confidential information with asterisks)
2) the DDL script of your table
3) the result set of executing "SELECT * FROM NLS_DATABASE_PARAMETERS" on your Oracle Server

Post Reply