2005: cannot to connect from .NET

Giganews Newsgroups
Subject: 2005: cannot to connect from .NET
Posted by:  RAM (r_ahimsa…@poczta.onet.pl)
Date: Fri, 4 Aug 2006

Could you help me please to solve the prblem with connecting to SQL Server
from .NET development environment?
I have the following error:

"An error has occured 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 setting SQL Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could nott open a connection to
SQL Server)

Please help. I changed option for remote connections but it doesn't help.