I have a freshly installed SQL Server 2008 R2 Express. I\'m trying to run SQLCMD locally (please do take note locally) but I am receiving the e
I had this same thing happen to me for a client trying to setup a new SQL-Server box.
Open your SQL-Server configuration manager on the machine where SQL is actually INSTALLED.
Look to the SQL Native Client 10.0 Configuration. Under that is Client Protocols. You probably have TCP/IP and Named Pipes DISABLED. You need to ENABLE them.
