Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

An error has occurred while establishing a connection to the server

I'm using VS2005 and SQL2000. I build a webisite, everything is OK but when I publish site and whammo! :confused:
" 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)"

Pls tell me how to fix? Thanks.
[510 byte] By [undead142] at [2007-11-11 7:21:11]
# 1 Re: An error has occurred while establishing a connection to the server
See if this helps:
https://help.maximumasp.com/SmarterTicket/Customer/KBArticle.aspx?articleid=878
Phil Weber at 2007-11-11 23:13:44 >