PC Review


Reply
Thread Tools Rate Thread

ORA 3114 Error with MS .Net provider for oracle

 
 
Arjun
Guest
Posts: n/a
 
      7th May 2008
Hi ,

I am using System.Data.OracleClient to connect to a oracle 10g
database on a Win 2003 server.
I have also installed the oracle 10g client and .Net 2.0 on the app
server.
My problem is that I keep getting error (shown below) intermittently..

System.Data.OracleClient.OracleException: ORA-03114: not connected to
ORACLE
at System.Data.OracleClient.OracleException.Check(OciErrorHandle
errorHandle, Int32 rc)
at System.Data.OracleClient.OracleInternalConnection.Rollback()
at System.Data.OracleClient.OracleConnection.Rollback()
at System.Data.OracleClient.OracleTransaction.Dispose(Boolean
disposing)
at System.Data.OracleClient.OracleTransaction.Rollback()

After getting this error if I reboot my server, the error goes away
only to return after some time.Also I have noticed that if the
application servers remian idle for some time, I get this error when
they resume work.

On googling I came across this article
http://support.microsoft.com/default...b;en-us;830173
It mentions this problem has been fixed in the Win 2003 SP1.I am
already at SP2 on my servers.

I am looking for ways to find the root cause of this error.Is it
related with setting on the oracle database server,oracle client or
some Win 2003 network settings?

Thanks In Advance!

 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      16th May 2008
Arjun,
I am having the same problem. Have you gotten any feedback yet?

"Arjun" wrote:

> Hi ,
>
> I am using System.Data.OracleClient to connect to a oracle 10g
> database on a Win 2003 server.
> I have also installed the oracle 10g client and .Net 2.0 on the app
> server.
> My problem is that I keep getting error (shown below) intermittently..
>
> System.Data.OracleClient.OracleException: ORA-03114: not connected to
> ORACLE
> at System.Data.OracleClient.OracleException.Check(OciErrorHandle
> errorHandle, Int32 rc)
> at System.Data.OracleClient.OracleInternalConnection.Rollback()
> at System.Data.OracleClient.OracleConnection.Rollback()
> at System.Data.OracleClient.OracleTransaction.Dispose(Boolean
> disposing)
> at System.Data.OracleClient.OracleTransaction.Rollback()
>
> After getting this error if I reboot my server, the error goes away
> only to return after some time.Also I have noticed that if the
> application servers remian idle for some time, I get this error when
> they resume work.
>
> On googling I came across this article
> http://support.microsoft.com/default...b;en-us;830173
> It mentions this problem has been fixed in the Win 2003 SP1.I am
> already at SP2 on my servers.
>
> I am looking for ways to find the root cause of this error.Is it
> related with setting on the oracle database server,oracle client or
> some Win 2003 network settings?
>
> Thanks In Advance!
>
>

 
Reply With Quote
 
Frans Bouma [C# MVP]
Guest
Posts: n/a
 
      17th May 2008
Arjun wrote:
> Hi ,
>
> I am using System.Data.OracleClient to connect to a oracle 10g
> database on a Win 2003 server.
> I have also installed the oracle 10g client and .Net 2.0 on the app
> server.
> My problem is that I keep getting error (shown below) intermittently..
>
> System.Data.OracleClient.OracleException: ORA-03114: not connected to
> ORACLE
> at System.Data.OracleClient.OracleException.Check(OciErrorHandle
> errorHandle, Int32 rc)
> at System.Data.OracleClient.OracleInternalConnection.Rollback()
> at System.Data.OracleClient.OracleConnection.Rollback()
> at System.Data.OracleClient.OracleTransaction.Dispose(Boolean
> disposing)
> at System.Data.OracleClient.OracleTransaction.Rollback()
>
> After getting this error if I reboot my server, the error goes away
> only to return after some time.Also I have noticed that if the
> application servers remian idle for some time, I get this error when
> they resume work.
>
> On googling I came across this article
> http://support.microsoft.com/default...b;en-us;830173
> It mentions this problem has been fixed in the Win 2003 SP1.I am
> already at SP2 on my servers.
>
> I am looking for ways to find the root cause of this error.Is it
> related with setting on the oracle database server,oracle client or
> some Win 2003 network settings?



Do you use connection pooling ? (a setting specifyable in the
connection string. pooling is ON by default).

It looks like the underlying network connection has been closed. THis
could be due to a firewall which closes idle connections.

WHen you use connection pooling (on by default) a closed connection
isn't really closed: it's reset and the physical connection with the
server is stored in a pool. When the connection is through a firewall,
the connection can be closed on the server, and perhaps due to some bug
not being propagated to the client.

If possible, could you try with ODP.NET ? (if you have a big app in
production, that's not an option )

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while connecting to oracle from Microsoft .net data provider for oracle Reny J Joseph Thuthikattu Microsoft VB .NET 8 16th Aug 2004 01:48 PM
Oracle Provider - ora-1031 error Terry Diederich Microsoft ADO .NET 0 18th Feb 2004 07:52 PM
Oracle provider error! Please help! Bruce Whitehouse Microsoft ADO .NET 10 2nd Dec 2003 01:54 AM
Oracle Provider Error Bruce Whitehouse Microsoft ADO .NET 2 5th Nov 2003 04:53 PM
Oracle Data Provider for .NET: Data provider internal error(-3000) Heidi Hundåla Microsoft ADO .NET 1 29th Oct 2003 03:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:12 PM.