SQL Server 2005 Express: Cannot connect to Server Name

newphpcoder's Avatar, Join Date: Sep 2010
Ambitious contributor
Good day!
I am newly in SQL Server 2005 and now I encountered error when i try to login. This is some of the information:

Microsoft SQL Server 2005 Express Edition

Server Type: Database Engine
Authentication:SQL Server Authentication
Login: sa

and when i press the connect button the error appear:

Cannot connect to Servername\MSFW

Additional Informations:
An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may becaused by the fact that under the default settings SQL Server does not allow remote connections.(Provider:SQL Network Interfaces error:26-Error Locating Server/Instance Specified) (Microsoft SQL Server).

I have no idea how i can solve this problem..

Any help is highly appreciated..

Thank you in advance.
mail.yuva's Avatar, Join Date: Jan 2011
Go4Expert Member
Step 1) Make sure SQL SERVER is up and the instance you try to connect is running.
Step 2) Your system Firewall should not block SQL Server port.
Step 3) Go to Computer Management >> Service and Application >> SQL Server 2005 Configuration >> Network Configuration
Enable TCP/IP protocol. Make sure that SQL SERVER port is by Default 1433.
Step 4) Now follow this KB Article of MSDN depending on your server :
mountainman's Avatar
Yes i agree with Yuva... that's a good explanation.