Print Thread
Page 1 of 2 1 2
ORA-0314 not connected to Oracle
#21004 01/25/06 05:27 AM
Joined: Jan 2006
Posts: 9
Houston, TX United States
S
soldado Offline OP
Member
OP Offline
Member
S
Joined: Jan 2006
Posts: 9
Houston, TX United States
I am having problems compiling my packages in the program file editor. When i try to compile a package i get the ORA-0314 not connected to Oracle error. I am able to successfully compile the same package using the command file editor. Not sure what's going on ? Have any of you run into this problem? I recently downloaded the new PL/SQL developer 7.0 version.

Best Regads,

Re: ORA-0314 not connected to Oracle
#21005 01/25/06 05:51 PM
Joined: Oct 2004
Posts: 20
Belgium
J
jto Offline
Member
Offline
Member
J
Joined: Oct 2004
Posts: 20
Belgium
hello,
I've experienced the same problem but only on one database.
PLSQL Dev 7.0.0.1050
Oracle Client 10.1.0.4

Db version 10.1.0.4 - no problems
Db version 9.2.0.6 - one db - no problems, another one exactly the same behaviour as you have described.

there is nothing in the database log files and I have no problems with SQL Navigator...
best regards
Jiri

Re: ORA-0314 not connected to Oracle
#21006 01/25/06 06:28 PM
Joined: Jul 2004
Posts: 281
The Netherlands
Member
Offline
Member
Joined: Jul 2004
Posts: 281
The Netherlands
Is 'Preferences/Debugger/Add Debug information when compiling' checked? If so, uncheck it and then try to compile.


Been there, done that, Got the T-Shirt
Re: ORA-0314 not connected to Oracle
#21007 01/25/06 06:55 PM
Joined: Oct 2004
Posts: 20
Belgium
J
jto Offline
Member
Offline
Member
J
Joined: Oct 2004
Posts: 20
Belgium
yep, if I switch it off, everything is compiled without any problem.
now of course the question - how can I make it run with the debug info?

regards

Re: ORA-0314 not connected to Oracle
#21008 01/25/06 09:15 PM
Joined: Jan 2006
Posts: 9
Houston, TX United States
S
soldado Offline OP
Member
OP Offline
Member
S
Joined: Jan 2006
Posts: 9
Houston, TX United States
Myd database version is 9.2.0.5 I tried unchecking the Preferences/Debugger/Add Debug information but still no luck. Not sure what's going on. I emailed support already.

JTO,
Try right clicking on the package body and selecting add debug information. It used to work for me on previous releases.

Re: ORA-0314 not connected to Oracle
#21009 01/25/06 09:57 PM
Joined: Jan 2006
Posts: 9
Houston, TX United States
S
soldado Offline OP
Member
OP Offline
Member
S
Joined: Jan 2006
Posts: 9
Houston, TX United States
I finally got it to compile. These are the steps that I took to get it to compile:

1. Backed up the preferences directory.
2. Uninstalled PL/SQL Developer.
3. Deleted the PL/SQL DEveloper folder under the Program Files directory.
4. Re-installed PL/SQL Developer.
5. Modified the preferences to uncheck the "Add debug information when compiling" check box.
6. Compiled the packages successfully.
7. Updated the preferences to check the "Add debug information when compiling" check box.
8. Unable to compile packages. ORA-0314: not connected to Oracle error raised.
9. Exited out of the PL/SQL Developer program.
10. Opened the PL/SQL Developer program and unchecked the "Add debug information when compiling" check box.
11. When directly to the package object, righ clicked and selected the "Add Debug Information" option. (WORKAROUND).
12. Was able to debug package successfully.

The next thing I'm going to try is add my preferences back into the preferences folder.

Re: ORA-0314 not connected to Oracle
#21010 01/25/06 10:16 PM
Joined: Jan 2006
Posts: 9
Houston, TX United States
S
soldado Offline OP
Member
OP Offline
Member
S
Joined: Jan 2006
Posts: 9
Houston, TX United States
I added my preferences and the problem returned. I was unable to compile packages either way. The infamous ORA-0314: not connected to Oracle returned.

Replaced the original preferences that come when you first install the application and i was once again able to compile my packages. However,
I still have to use the workaround that I described earlier because I am unable to compile packages if I check the "Add Debug INformation when compiling" check box.

Re: ORA-0314 not connected to Oracle
#21011 01/25/06 10:46 PM
Joined: Aug 1999
Posts: 22,216
Member
Offline
Member
Joined: Aug 1999
Posts: 22,216
That is strange. I can only imagine the following preference settings affect these low-level compilation issues:

1. Program Window > Background compilation.
2. Program Window > Safe compilation.
3. Connection > Session mode.
4. Connection > Oracle Home (or OCI Library).

Can you verify if these preferences are set differently and affect the problem?


Marco Kalter
Allround Automations
Re: ORA-0314 not connected to Oracle
#21012 01/26/06 12:17 AM
Joined: Sep 2000
Posts: 82
Karlsruhe, Germany
T
Member
Offline
Member
T
Joined: Sep 2000
Posts: 82
Karlsruhe, Germany
I've seen the same issue today with 1 package. Will verify the settings tomorrow morning.

Re: ORA-0314 not connected to Oracle
#21013 01/26/06 12:43 AM
Joined: Jan 2006
Posts: 9
Houston, TX United States
S
soldado Offline OP
Member
OP Offline
Member
S
Joined: Jan 2006
Posts: 9
Houston, TX United States
The seeting between my preferences and the original setting are the same. See below.

1. Program Window > Background compilation. UNCHECKED

2. Program Window > Safe compilation.
UNCHECKED
3. Connection > Session mode.
EMPTY
4. Connection > Oracle Home (or OCI Library). EMPTY

Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.048s Queries: 15 (0.025s) Memory: 2.5603 MB (Peak: 3.0405 MB) Data Comp: Off Server Time: 2024-05-12 14:22:21 UTC
Valid HTML 5 and Valid CSS