Cannot find template file for the new query
Be carefull when using cleanup tools which remove empty files from your system.
The application I used deleted files with 0KB sizes.
Apparently it also deleted files like C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\SQL\SQLFile.sql which is 108 Bytes.
You can spot it from a 20 miles distance this is going to be major poo poo.
What was the impact removing that "SQLFile.sql" file?
I fired up SQL Server Management Studio and hit the New Query button and this popped up:
---------------------------
Microsoft SQL Server Management Studio
---------------------------
Cannot find template file for the new query ('C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\SQL\SQLFile.sql').
---------------------------
OK
---------------------------
I created an empty sql script file and named it SQLFile.sql. That's it!
Sigh...