Good morning,
For some reason, I can no longer open .sql files in SQL Server Management Studio. I have checked the Windows file association, which still associates these files with SSMS. I also tried adding a static extension under Tools -> Options -> Text Editor -> File Extension, but still no luck.
Each time I try to open a .sql file, I receive the following error:
There is no editor available for <my file>. Make sure the application for the file type (.sql) is installed.
There have been no major changes on my system recently. Any help would be appreciated.
Thanks
Tim
It happened to me once whatI did is, re-associated those .SQL files to open in NOTEPAD and then again associated to SSMS to open, that worked.
HTH
1 comment:
it is likely the sql file you are trying to open is not pc/ansi encoded. I get that exact error when I try to open a sql file that was saved with Unix encoding. Use a text editor(Notepad), do a File/Save As, then verify that the choice is ANSI.
Post a Comment