Can anyone decipher this error message? Somebody gave me a SQL script and when I run it, I get this error:
Thanks.
If it is an instance of SQL Server Express, it is likely a named instance. So try adding -S .\SQLEXPRESS
to the command.
Also see this blog post for common troubleshooting ideas: http://blogs.msdn.com/b/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx