Sunday, March 25, 2012

A weird error !

I was developing a data-driven website but I got this error

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)

(I have Sql server 2005 also downloaded before)

Please help me cause any website that has data can not be executed even the quick start tutorial that ships with the ASP.NET 2.0

What should I do?

Hey,

If you go into the SQL Server Surface Area Configuration, then view the components, you can enable remote connections, which may solve the problem.

No comments:

Post a Comment