Connection string problem

Error: A network related or instance-specific error occurred while establishin a conncection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (Provider: Named Pipes Provider, error:40 - Could not open a connection to SQL Server)

My application and system specificaiton

I am using SQL server 2005 developer edition

and my connection string is -----

SqlConnection cn = new SqlConnection("data source=localhost; Initial Catalog=master; Integrated Security=True; User Id=CT-Marketing");

so any one please tell me the solution of this problem

edit delete
are you sure?
asked saeed khan

0 answers

Post an answer but please login first

Post Answer
  1. Please login to post answer

Similar Questions

Tagsfor this question

Forumall questions