i have sql server 2005 installed in my local machine. when i installed it, i was able to connect to the local server which is named "MNTCON016".
After restarting the machine, I found out that i was not able to connect to the local server "MNTCON016". it gave me the following error.
A network related or instance specified error occured while establishing a connection to SQLServer. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (Provider: Named Pipes Provider, error: 40- Could not open a connection to SQL Server)(Microsoft SQL Server, Errorv 2)
After a lot of troubleshooting, I installed the same setup again and named the instance "MNTCON016\SQLEXPRESS", and then again it allowed me to connect properly.
But When I restart the machine, it gives me the same error.
On the other hand, it allows me to connect to remote database servers on the network. The only problem is with my local server..
Please advice