RE: Power outage, lost connection info and saved sql
Michael Staszewski <[email protected]>
| Newsgroups | gmane.comp.db.oracle.toad.free |
|---|---|
| Message-ID | <6548C9485A5E9C41AE3BB626E669B5471027CEA5@ALVMBXW01.prod.quest.corp> |
Hi Wendy. I've received your .err file offline and unfortunately am able to get nothing from it. If I open the file in Notepad++ I can clearly see many statements in there, but the file is binary and I'm not sure how to terminate the file properly by stripping the trailing nulls (the corruption) in such a way that Toad can still load the file without error. We use Delphi's built-in component streaming functionality for this so it's not a file format that I fully understand. This comes up at times under circumstances I cannot explain. I do not know why a power outage would cause corruption in this file. It would seem unlikely that the saving of the file would occur at the precise moment the power went out, but you are not the first to report problems with this file under unexpected circumstances. In an attempt to alleviate this annoyance I've made a change. When SavedSQL.dat is saved, the previous copy of it is saved to SavedSQL.bak. When loading the file from disk if corruption is detected in the .dat file an attempt to load the .bak file is made. This isn't the perfect solution, but perhaps it will eliminate the total loss of all saved SQL. Did you just upgrade to 11.5 by chance? If so you may still have your 11.0 appdata folder on disk. Look at your appdata folder and look for the 11.0_uninstalled folder. If you close Toad you can copy the SavedSQL.dat file from the "11.0_uninstalled\User Files" folder into your 11.5 user files folder. You'll lose any statements saved during your 11.5 use, but perhaps that hasn't been for too many days now since 11.5 was just released. Michael -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Wendy Penfold Sent: Monday, April 23, 2012 12:59 PM To: ToadList Subject: [toad] Power outage, lost connection info and saved sql Hi, We had a power outage when I was using Toad, when my machin came back up and I tried to start Toad up again, I got an error that Connection info can't be shared between computer and that the file will be deleted...? So, all my connections and passwords were deleted...ok, but what I'm really missing is my saved sql. I got an error saying it couldn't be opened and it saved it to a .err file. Is there any way I can get my saved sql back? ------------------------------------ Yahoo! Groups Links ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/toad/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/toad/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/