2013-10-03

SQL server connection error

Over the years I have had this (or similar) error several times, however I get so rarely I tend to forget how I fixed them. So even though a million other have already posted this I will also do it, as a personal reference.


The error is:

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: 5)

The solution:
Enable Named pipes on the server
HowTo:
Open SQL server configuration manager go to client protocols and enable Named pipes.

Inga kommentarer:

Skicka en kommentar