Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had no problem with my sql server and management studio yesterday, but today it does not connect and show me this error:

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

The only change I had made is changing windows user password, and I connect to sql using windows authentication what shoul i do to fix it?

share|improve this question

1 Answer 1

First Check if your sql server agent is running. Then go to SQL Server configuraion manager->sql Network Configuration->protocols for [server name] then enable the Named Pipe if it is disabled

share|improve this answer

Your Answer

 
discard

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.