Check your instance of SQL Server 2005 and see if you have allowed for remote connections.
Check your connection string to SQL Server making sure that all the information is correct. Verify your network connections to SQL Server (Firewall access, etc.). On Dec 24, 12:41 am, "rajesh kannan" <[email protected]> wrote: > hi, > I am using visual studio 2005 to create asp.net application . > but I could connect to sql server 2005. > > The error is as follows: > "when connecting to sql server 2005,this failure may be caused > by the fact that under the default settings sql server does n't allow remote > connections." > > Please help me to solve the problem. > > thanking you.
