Search

Wednesday, October 12, 2011

An error has occurred while establishing a connection to the server.

Error Description : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Solution 1:
Go to, Start  > Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server 2005 Surface Area Configuration > Surface Area Configuration for Services and connections.
Within this check whether "Local and remote connections" is choosen. If not choose it.

Solution 2:
Check this URL http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=192622&SiteID=1 
:)

No comments:

Post a Comment