SqlPrompt 6.1 doesn't properly persist program Options
![dpokluda](https://us.v-cdn.net/6029854/uploads/defaultavatar/nZUSABQN8JEE0.jpg)
Here is my scenario (properly worked in SqlPrompt 6.0):
Any idea how to fix or workaround this issue? The only way I found to workaround this is to uninstall version 6.1 and go back to version 6.0.
-
* STEP1: make sure my settings are valid in C:\Users\{my_user_name}\AppData\Local\Red Gate\SQL Prompt 6
* STEP2: open SSMS and go to SQL Prompt > Options and see that my settings are still there (I look at Aliases for example)
close SSMS
* STEP3: reopen SSMS and go to SQL Prompt > Options and see that all my settings are gone
Any idea how to fix or workaround this issue? The only way I found to workaround this is to uninstall version 6.1 and go back to version 6.0.
![:( :(](https://forum.red-gate.com/plugins/redgate/emoji/cry.png)
Comments
Could you check your log file to see if it gives any reason for why it's failing to load the options.
The logs can be found under %localappdata%\Red Gate\SQL Prompt 6 and you should see a line saying something like:
"ERROR RedGate.SqlPrompt.Metadata.Options.OptionsBase - Error deserializing options for RedGate.SqlPrompt.Engine.EngineOptions. Resetting to defaults."
followed by details of why it failed.
Thanks you very much for your quick response.