SQL Prompt 6 - Disabling History Tabs reload on startup
jedwork
Posts: 3
I have an issue where I had severla 2008R2 SSMS sessions open, each with many SQL query windows.
My machine crashed and now when I try to start SSMS, the SQL Prompt tries to open all my previous sql windows, and then just crashed SSMS.
Is there a registry entry I can change to disable "Restore open tabs when SQL Server Management Studio starts" ?
If not, can I remove the backedup files myself?
SQLPrompt_6.2.0.241.exe and SSMS 10.50.1600.1
Ta
My machine crashed and now when I try to start SSMS, the SQL Prompt tries to open all my previous sql windows, and then just crashed SSMS.
Is there a registry entry I can change to disable "Restore open tabs when SQL Server Management Studio starts" ?
If not, can I remove the backedup files myself?
SQLPrompt_6.2.0.241.exe and SSMS 10.50.1600.1
Ta
Comments
You can turn this off manually by setting OpenTabsOnStartup to false in "%localappdata%/Red Gate\SQL Prompt 6\ RedGate_SQLPrompt_CommonUI_Options_TabMagicOptions.xml"
Roughly how many tabs were opening that caused the crash? I'm wondering if having an upper limit for the number of tabs sql prompt will try to open would avoid this in the future (or a confirmation if it's over a certain amount)
Thanks,
Aaron.
There were 179 historical files in my
H:\My Documents\SQL Server Management Studio\Backup Files\Solution1
directory of which 99 were non zero in size.
Not sure how many of those SQL Prompt was trying to open however.
This was a comedy of circumstances that lead to such a high number of files, so I don't expect this situation to arise again. Usually I only have about 20 or so open.
An upper limit, or even a prompt window on opening, to allow the user highlight those files to open might be useful if a threshold is breached.