You are here: Re: 2005: cannot to connect from .NET « MsSQL Server « IT news, forums, messages
Re: 2005: cannot to connect from .NET

Posted by Erland Sommarskog on 08/04/06 22:01

RAM (r_ahimsa_m@poczta.onet.pl) writes:
> 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.

Does the server accept connection from Named Pipes? Check this in
the SQL Server Configuration Manager.

Have you tried to connect over TCP/IP.

Also check firewalls etc.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация