G
Guest
Hi i received that error when connection to sql server 2005 from work station .
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 was using MS Access front end but now i want to convert that application
to web but connecting with sql server is getting that problem
snap short of my code is
SqlConnection myConnection = new
SqlConnection("Server=(DBServer);uid=abc;pwd=password;Database=MYDBk");
thanks
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 was using MS Access front end but now i want to convert that application
to web but connecting with sql server is getting that problem
snap short of my code is
SqlConnection myConnection = new
SqlConnection("Server=(DBServer);uid=abc;pwd=password;Database=MYDBk");
thanks