Search found 51 matches

by slaxman
Fri 19 Jun 2020 19:55
Forum: dotConnect for Oracle
Topic: ORA-00933: SQL command not properly ended:
Replies: 5
Views: 28540

Re: ORA-00933: SQL command not properly ended:

We are running on-premise without any patches. This is the version that query 'select * from v$version;' returns

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
by slaxman
Tue 16 Jun 2020 22:33
Forum: dotConnect for Oracle
Topic: ORA-00933: SQL command not properly ended:
Replies: 5
Views: 28540

Re: ORA-00933: SQL command not properly ended:

Original error was in direct mode. Just tried in OCI mode, still getting the same error.
by slaxman
Mon 08 Jun 2020 19:44
Forum: dotConnect for Oracle
Topic: ORA-00933: SQL command not properly ended:
Replies: 5
Views: 28540

ORA-00933: SQL command not properly ended:

keyword END in the filter results in ORA-00933 error. Without that, it works fine. However, same query executed in Toad parses successfully. I am using oracle 19C with 'dontconnect for Oracle' 9.8.838.0

---------------------dbmonitor log--------------------
6/8/2020 10:32:08 AM 0.000 Creating object Complete
6/8/2020 10:32:08 AM 0.000 Prepare: SELECT DISTINCT user_id FROM Users WHERE Deleted = 1 AND user_id IN ('MUM7WA2','END9WA1','KIB4BH'); Complete
6/8/2020 10:32:08 AM 0.000 Execute: SELECT DISTINCT user_id FROM Users WHERE Deleted = 1 AND user_id IN ('MUM7WA2','END9WA1','KIB4BH'); Error
6/8/2020 10:32:08 AM 0.000 Creating object Complete
by slaxman
Mon 14 Jan 2019 17:19
Forum: dotConnect for Oracle
Topic: Oracle Error (ORA-08103) happens intermittently
Replies: 3
Views: 12757

Oracle Error (ORA-08103) happens intermittently

Exception is thrown intermittently during some read operations on our production environment. It does not reproduce on our test servers. any thoughts?

Devart.Data.Oracle.dll 9.0.12.0

call stack:

||544|2019/01/03 14:49:37.074|8284|PoolThread:89|||Details: Devart.Data.Oracle.OracleException: ORA-08103: object no longer exists
at Devart.Data.Oracle.cv.d()
at Devart.Data.Oracle.ah.i()
at Devart.Data.Oracle.ad.s(Byte[] A_0, Int32 A_1, Int32 A_2)
at Devart.Data.Oracle.Entity.d.b(Int32 A_0, aa A_1)
at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
by slaxman
Wed 07 Oct 2015 16:02
Forum: dotConnect for Oracle
Topic: Intermittent Error: Invalid attempt to Read when reader is closed.
Replies: 1
Views: 1101

Intermittent Error: Invalid attempt to Read when reader is closed.

This error happens in our production system frequently but is not consistent. We have checked connections and network. No problems were identified. Also, the call stack is not available as the logging is minimal being production. If there is any bug in the code regarding the reader closing etc..., we would see the problem consistently. Interestingly, the reader is loading one row only. It is puzzling why the reader would close prematurely. Can you help?
by slaxman
Fri 10 Apr 2015 20:27
Forum: dotConnect for Oracle
Topic: System.IndexOutOfRangeException during connection
Replies: 3
Views: 1898

Re: System.IndexOutOfRangeException during connection

we are testing our application with 8.4.333 currently. It fixes a multithreaded connection pool issue mentioned below as per your rev. history. This System.IndexOutOfRangeException problem seems to be related. do you think moving to 8.4.333 will help?

---------------
8.4.333 15-Jan-15

•The bug with throwing System.InvalidOperationException by Devart connection pooling in multithreaded applications under high loads is fixed
by slaxman
Thu 09 Apr 2015 14:15
Forum: dotConnect for Oracle
Topic: System.IndexOutOfRangeException during connection
Replies: 3
Views: 1898

System.IndexOutOfRangeException during connection

This happens once in a while in production. It is not reproducing in dev setup. We are using dotconnect for Oracle 8.3.161.6. Any thoughts?


---------

INNER EXCEPTION (System.IndexOutOfRangeException): Index was outside the bounds of the array.
Stack Trace: at Devart.Data.Oracle.DirectUtils.a(String A_0, String A_1)
at Devart.Data.Oracle.g.a()
at Devart.Data.Oracle.b0.a(String A_0, Int32 A_1, String A_2, String A_3)
at Devart.Data.Oracle.c6.a(b2 A_0, Boolean A_1)
at Devart.Data.Oracle.c6.a(b2 A_0, q A_1)
at Devart.Data.Oracle.OracleInternalConnection..ctor(b2 connectionOptions, OracleInternalConnection proxyConnection)
at Devart.Data.Oracle.aq.a(m A_0, Object A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, m A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
by slaxman
Tue 08 Apr 2014 20:06
Forum: dotConnect for Oracle
Topic: error code for Network error - 208 ?
Replies: 1
Views: 1160

error code for Network error - 208 ?

for the exception below, devart returns error code as 208.

EXCEPTION (Devart.Data.Oracle.OracleException): Network error:: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

However, 'ORA-00208' has a different message by oracle --- 'number of control file names exceeds limit of string'

so, what is the reliable way to use the code as they seem to clash? also, I did not find documentation on devart's error codes.
by slaxman
Wed 30 Oct 2013 16:14
Forum: dotConnect for Oracle
Topic: System.Transactions: timed out transactions crash host process
Replies: 14
Views: 2947

Re: System.Transactions: timed out transactions crash host process

We are running into the same issue with version 7.2.122.0. Is there a fix?
by slaxman
Tue 19 Feb 2013 19:46
Forum: dotConnect for PostgreSQL
Topic: "outer apply" statement
Replies: 12
Views: 7250

Re: "outer apply" statement

We are running into the same issue with EF4 and oracle 11g while using MAX. I understand that it stems from Microsoft's EF implementation. any ideas whether it's been fixed in EF5?
by slaxman
Tue 12 Feb 2013 17:13
Forum: dotConnect for Oracle
Topic: ORA-03117: two-task save area overflow
Replies: 1
Views: 5664

ORA-03117: two-task save area overflow

Sometimes I am getting this oracle exception. Not sure what the exact scenario is. Any ideas?

EXCEPTION (Devart.Data.Oracle.OracleException): ORA-03117: two-task save area overflow
Stack Trace: at Devart.Data.Oracle.a6.b(Int32 A_0)
at Devart.Data.Oracle.a8.a(Int32 A_0, bw A_1)
at Devart.Data.Oracle.OracleCommand.InternalExecute(CommandBehavior behavior, IDisposable disposable, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Data.Oracle.Entity.w.a(CommandBehavior A_0)
at Devart.Common.Entity.o.b(CommandBehavior A_0)
at Devart.Data.Oracle.Entity.w.b(CommandBehavior A_0)
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
by slaxman
Wed 31 Oct 2012 19:24
Forum: dotConnect for Oracle
Topic: ORA-01460: unimplemented or unreasonable conversion requested
Replies: 7
Views: 6594

ORA-01460: unimplemented or unreasonable conversion requested

The exception happens when using Entityframework query with a filter on a NVARCHAR2 field. Sounds like a mapping issue between types NVARCHAR2 and NVARCHAR. I am using verion 7.2.96 with settings Direct=True and Unicode=True

here are the details...

CREATE TABLE "MyTable"(
"Id" raw(16) NOT NULL,
"Name" nvarchar2(255) NOT NULL,
CONSTRAINT "PK_MyTable" PRIMARY KEY ("Id")
)

--EF query snippet in C#
string name = "test";
context.MyTable.Where(c => c.Name == name); // results in ORA-01460 exception
--

exception call stack -

EXCEPTION (Devart.Data.Oracle.OracleException): ORA-01460: unimplemented or unreasonable conversion requested
Stack Trace: at Devart.Data.Oracle.u.d()
at Devart.Data.Oracle.ar.h()
at Devart.Data.Oracle.ar.c()
at Devart.Data.Oracle.aa.a(Int32 A_0, by A_1)
at Devart.Data.Oracle.OracleCommand.InternalExecute(CommandBehavior behavior, IDisposable disposable, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Data.Oracle.Entity.v.a(CommandBehavior A_0)
at Devart.Common.Entity.o.b(CommandBehavior A_0)
at Devart.Data.Oracle.Entity.v.b(CommandBehavior A_0)
by slaxman
Thu 20 Sep 2012 18:30
Forum: dotConnect for Oracle
Topic: ORA-01005: null password given; logon denied
Replies: 7
Views: 20812

Re: ORA-01005: null password given; logon denied

you are right. There are no exceptions while connecting which I thought might happen because the password had to be double quoted originally while creating the user. Please let us know when the double quote issue (ORA-01005: null password given; logon denied
) is fixed.
by slaxman
Tue 11 Sep 2012 15:01
Forum: dotConnect for Oracle
Topic: ORA-01005: null password given; logon denied
Replies: 7
Views: 20812

Re: ORA-01005: null password given; logon denied

that partly fixes the problem. How would you handle passwords with space in them such as "Hello World!"?