Home Forums SQL Server 2005 SQL Server 2005 General Discussion SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) RE: SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
ragu_raguna
Valued Member
Points: 61
More actions
September 12, 2011 at 12:43 am
#1379804
Hi,
1) Please double check your connection string
2) Please make sure your DB server connects and user/pass is correct in the connection string.
If the above points are fine. Then your code should work.
Thanks
S.Ragunath