I had to rebuild our development server this week and I cannot for the life of me get the Master/Model DB to restore. Let me cut to the chase:
I am in single user mode, I go to SQLCMD to run the command to restore the Master DB, and I get this error:
HResult 0x2, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [2].
Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : A network-related or in
stance-specific error has occurred while establishing a connection to SQL Server
. Server is not found or not accessible. Check if instance name is correct and i
f SQL Server is configured to allow remote connections. For more information see
SQL Server Books Online..
Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : Login timeout expired.
I've done an exhaustive search and I cannot resolve this. I've done everything from just typing SQLCMD to using the -S switch and the full command of using the instance name and -U and -P for user and password. Same results each time. I've stopped reporting
services with the same results.
This is SQL2008.
I am dead in the water here and it's been a 2 day battle...suggestions?