SQL windows not opening correct DB connection

Jshall

Member
Hello there, I just changed my laptop. On my previous laptop, I can connect to about 6 databases, each having at least 8 SQL open windows on each section. If I have to reboot my laptop, I normally get a notification if I wanted to restore to previous the last section for each connection. Then this will open and populate the last closed windows for the specific database connection. But on the new laptop, whenever I connect to a any database upon reboot, it only reopen the same windows for the same connection regardless of the database. Is there a way I can get this to work properly. Thanks. Am using version 14.0.6.1988
 
Did you use the same PL/SQL Developer version on the old laptop? If so, can you compare the setting on the Preferences > Oracle > Connection screen?
 
hello @Marco Kalter, thanks so much for getting back. Yes am using the same version. I was able to copy the my recovery file (e.g. files 13590.CFG, 13590 zip, 13590.002, 13590.003,13590.004 ...) from the old computer to the new one. C:\Users\Jshall\AppData\Roaming\PLSQL Developer 14\PLS-Recovery. This works if I close the PL/SQL session by killing it from task bar and re-opening it. Am able to re-connect off the last opened windows. But every time my machine reboots, I loose all the files copied over. Do I have to put these files in another location to retain it? Thanks
 
The PLS-Recovery directory is only for backup and recovery in case of a system or application crash. You should store your files in a "normal" location, such as your Documents directory or a network drive.
 
hello @Marco Kalter, thanks so much for getting back. But normally I do not have to store any opened sql, test, procedure, package windows. If I have to restart my laptop, your software knows exactly which windows were opened and automatically open them. In this case where am able to copy the .cfg files from the old laptop why are they being deleted when I restart my laptop? I have a feeling the files are also sored elsewhere other than the C:\Users\Jshall\AppData\Roaming\PLSQL Developer 14\PLS-Recovery folder. When I stored opened windows for a connection, e.g. database 1, if I connect to database 2, it opens the same stored objects for both databases which is not right.
 
Last edited:
Hi Marco, thanks for getting back but my company is only registered for version 14 as I get error when I installed 15.0 trial version at registration.
 
Hi Marco, if I could make this a lot simpler explaining the issue. My recovery files are not being saved any more. I can see new files created for every session but it disappears after reboot. How can I force saved these files automatically. Already autosave desktop is checked in preference.
 
Hi Marco, thanks for your response. I have downloaded 16.0 beta and it works fine and able to load my current recovery files. But how would this resolve my issue with version 14? I asked this as my company only has the license for version 14. I may not have access to version 16.0 when in production.
Many thanks
 
Last edited:
Back
Top