Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

While tring to connet i am getting below error.

Cannot connect to SERVERXXX\SQLEXPRESS. ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. 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: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

i went through the above MS link. it is simply saying that check ur server is running or not?

anybody can help me...?

share|improve this question
Is the service running? What OS is this? More information is required. – user3914 Aug 5 '11 at 5:08

Are you trying to connect from a remote machine? If so this is blocked by default.

Is the SQL Service running?

Is the SQL Browser running?

Is the firewall blocking your connection?

Is TCP enabled on the SQL service?

Can you ping the machine?

Can you telnet to the TCP port that the SQL service is listening on?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.