sqlsql-serversql-server-expresssql-server-2005-express

SQL Server 2005 Express


Can anyone decipher this error message? Somebody gave me a SQL script and when I run it, I get this error:

http://i890.photobucket.com/albums/ac103/mmh924/image001.png

Thanks.


Solution

  • 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