Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ODBC --call failed: [Oracle][ODBC][Ora]ORA-03114: Not connected to ORACLE (#3114)

Posted on 2006-06-26
13
2,680 Views
Last Modified: 2012-05-05
We have an application with an Access 2002 Front end, linked via Oracle's ODBC driver to Oracle 8.1.5 databases running on 2 IBM RS6000's under UNIX.  Much of the coding of the application is done using Oracle triggers.

With the application is an Access "Comprehensive" report that retrieves data from 2 RS6000's, as well as documents stored on Windows 2000 servers and prepares a PDF of every form and document pertaining to the report using Adobe Acrobat 6.0 with Adobe SDK.  At the beginning of its run, using Oracle triggers, the report loads all data from the RS6000 into temporary tables in the microsoft access database.

Too often, when one instance of the report and multiple instances of the application are running, all will terminate with the error "ODBC --call failed: [Oracle][ODBC][Ora]ORA-03114: Not connected to ORACLE (#3114)".

How do I rectify this problem as Comprehensive reports must be run throughout the day?  Are there any settings on the Oracle ODBC driver than can rectify this?   Both the Application and the Comprehensive report are mde files.

sjl
0
Comment
Question by:sjlevine34
  • 7
  • 6
13 Comments
 
LVL 54

Expert Comment

by:nico5038
ID: 16987745
Guess you need to set the timeout parameter "higher".
Open your query and select the properties, the timeout is by default 60, but I use 600 in general.

Nic;o)
0
 
LVL 1

Author Comment

by:sjlevine34
ID: 16987788
Is there a way to set this globally and for tables?  The application generally writes information to one or several fields in an Oracle table, which then uses Oracle Triggers to complete the remainder of the data pull, either to that or other tables.  Access then pulls the data from the linked tables into its own.

sjl
0
 
LVL 54

Expert Comment

by:nico5038
ID: 16987881
Not that I know of, but are you using "PassThrough" queries ?

Nic;o)
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Author Comment

by:sjlevine34
ID: 16987932
I am not using passthrough queries.

I am writing to fields in Oracle tables, and using PL/SQL triggers to retrieve the data from the Oracle database into those tables.   However, in the report, I am using queries to transfer data from the Oracle tables to the local Access temporary tables and those queries have the ODBC timeout property of which you speak.  The application does not use Access queries for its main functions, depending instead on Oracle triggers activated when data written to fields.

sjl
0
 
LVL 54

Expert Comment

by:nico5038
ID: 16987970
Just check the helpfile for the Passthrough queries.
They save time as they are in Oracle SQL written and the query will be executed by the Oracle database engine and inly return the resulting rows. An Access query will first grab all tablerows and then apply the where part, thus putting a lot of unnecessary data over your connection...

Nic;o)
0
 
LVL 1

Author Comment

by:sjlevine34
ID: 16988122
The only problem I now am running into is that I have my search criteria in an access table.  Is there any way to work it into the query without having to create an oracle table for it?  If I do an Oracle table, I have to distinguish records by session ids to allow for multuser use.

sjl
0
 
LVL 54

Accepted Solution

by:
nico5038 earned 500 total points
ID: 16988197
You can manipulate the passthrough query by code, as long as you make sure the syntax is OK for Oracle.
Code would look like:

dim qd as DAO.querydef

set qd = currentdb.querydefs("PassThroughQueryName")
qd.SQL = "select a, b, c from tblX where ....."

after the assign statement the query can be used directly.

Nic;o)
0
 
LVL 1

Author Comment

by:sjlevine34
ID: 16992198
Thank you very much.
0
 
LVL 54

Expert Comment

by:nico5038
ID: 16994087
Glad I could help, when this is answering your question than you can close the question by accepting the appropriate comment :-)

Nic;o)
0
 
LVL 1

Author Comment

by:sjlevine34
ID: 16994139
I just need to try your solution out first, which I have scheduled to do late this week and early next week.  If it works, I will close it out and award points.  If I run into some issues, I would like to be able to ask further questions.

I apologize for not being able to get to try your solution sooner, but management wants me to complete another project they need in order to meet a timetable involving the whole organization.  But then they definitely want me to try this solution, and I already told them I think it will work.

Again, appreciate your help, tremendously.

sjl
0
 
LVL 54

Expert Comment

by:nico5038
ID: 16994293
No problem, keep me posted :-)

Nic;o)
0
 
LVL 1

Author Comment

by:sjlevine34
ID: 17072673
The passthru printing worked very nicely.

sjl
0
 
LVL 54

Expert Comment

by:nico5038
ID: 17073423
Glad I could help, success with the application !

Nic;o)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question