Reputation: 11
Whenever I double click on .sql file. I receive a message that 'There was a problem sending the command to the program'
Upvotes: 1
Views: 220
Reputation:
I was facing same issue. I don't know what problem it, but I have fixed it with a registry hack.
Upvotes: 0
Reputation: 172628
See the MSDN which says:
Ah... I think the solution is to make the string for
HKEY_CLASSES_ROOT\sqlwb.sql.9.0\Shell\Open\Command
say this:
"C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\ssms.exe" "%1" /dde
with quotes around the %1. It works for me now.
I think this is a bug in SQL Server 2008 client tools.
Upvotes: 1