views:

26

answers:

1

I am using Sql Server 2005. When the connect to dialog box opens, it asks me for the server name. I entered "localhost", but I am not able to connect to the server. An error message is displayed. How can I connect to server and where can I find the server name?

+1  A: 

If you want to connect to your local machine you can also give . as your hostname. What is the error being shown. Are you sure you are logging in with the correct credentials.

ckv