I keep getting errors. It all started when I enabled named pipes on my SQL Server 2005 server. Ever since then I've had connection problems up the butt.
Most recently I got this error so does this mean that SQL Server is still trying to use named pipes even if I only have TCP/IP enabled in SQL Server Configuration Manager
Error:
TITLE: Connect to Server
------------------------------
Cannot connect to BG-SQL2005.
------------------------------
ADDITIONAL INFORMATION:
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) (Microsoft SQL Server, Error: 2)
For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
I get this when I try to connect to my DB period and I know the users are setup correctly, even tried both Windows Authentification and SQL authentification, no luck. It was working happily for a few days it seemed before I enabled named pipes in the SQL Server Configuration Manager.

Is SQL Server 2005 still using Named Pipes ?
foobarX
Does the client have Named Pipes enabled
To allow (remote) TCP/IP connections you need to use the "SQL Server Surface Area Configuration" to enabled remote connections first.
Talaro
Yes, they are still supported. They need to be enabled on server, and if you are using firewall make sure it is open.
This forum may provide better trouble shooting help:
http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=87&SiteID=1
YuvalO
>>which version(s) of SQL Server 2005 were you using Which version did you reinstall which version(s) of SQL Server 2005 were you using Which version did you reinstall
The latest download from msdn for SQL Server 2005 Enterprise
reinstalled same version
DavidAWinter
issue resolved, reinstalled SQL Server 2005 completely
thanks for your inputs.
japreja
Dave DeJonge
BUG: Named pipes do not work when worker process runs under ASPNET account
http://support.microsoft.com/default.aspx scid=kb;en-us;Q315159
Vitoto
I'm having the same issue, and will post this in the suggested forum shortly - but wanted to ask dba123 a couple of questions first: which version(s) of SQL Server 2005 were you using Which version did you reinstall
Here's our scenario:
Thanks in advance,
Steve
WilliamStacey
http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=87&SiteID=1
Thanks,
Matt
abdullah
trobin