Monday, March 12, 2012

Error occurred while establishing a connection to the server

hai friends..........

please give a solution to 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) "

thanks in advance to all.......

Can u post your connection string ? Are you using express edition?

|||

hai...

No i am not using express edition..............

The connection string is --> "Data Source=p3swhsql-v11.shr.phx3.secureserver.net; Initial Catalog=Magichuts; User ID=Magichuts; Password=Google001"

|||

Chek this link

http://support.microsoft.com/kb/914277

|||

this link will help you

http://www.linglom.com/2007/08/31/enable-remote-connection-to-sql-server-2005-express/

|||thanks abdul.m..................

No comments:

Post a Comment