Monday, August 27, 2012

Fix SSMS Error - The automatically saved settings file ‘\\Settings\CurrentSettings-YYYY-MM-DD.vssettings’ cannot be found.

When you try to Open or Close SQL Server Management Studio after an upgrade or fresh installation of SQL Server 2008 R2 you might get the below error which states,
The automatically saved settings file '\\Settings\CurrentSettings-YYYY-MM-DD.vssettings' cannot be found. You can change this file on the 'Import and Export Settings' Tools Options page. The IDE will use your most recent  settings file for this session.


However there is no option "Import and Export Settings" in SQL Server Management Studio.
So to Fix this error,
  1. Open Registry Editor
  2. Navigate to the location HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell
  3. Edit the value of the Reg Key "VisualStudioLocation" to  %USERPROFILE%\Documents\SQL Server Management Studio
  4. Close Registry Editor
Now when you open or close SQL Server Management Studio, You will not get the error.

15 comments:

  1. Thanks, its working

    ReplyDelete
  2. Perfect! I also saw some other goodies in there that I wanted to change. Thanks for posting!

    ReplyDelete
  3. Cool It's working Thanks...

    ReplyDelete
  4. Perfect, this also works for me!

    ReplyDelete
  5. Thank you Very Much, It's working ;)

    ReplyDelete
  6. AWESOME!! Thank you....this has been driving me nuts for weeks.

    ReplyDelete
  7. Edit the value of the Reg Key "VisualStudioLocation" to %USERPROFILE%\Documents\SQL Server Management Studio
    bước này làm như nào vậy mọi người

    ReplyDelete
  8. http://stackoverflow.com/questions/27623262/sql-server-management-studio-error-saved-settings-file-cannot-be-found-virtual
    Not working for me

    ReplyDelete
  9. after reaching the following location i am not able to find microsoft sql server
    HKEY_CURRENT_USER\Software\Microsoft\ "microsoft sql server" file
    how could i proceed...help me up please.

    ReplyDelete
  10. you can say that green health is the best because it is all organic’ https://royalcbd.com/product/cbd-oil-2500mg/

    ReplyDelete