Click here to Skip to main content
15,905,229 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I want Sql Server2008 r2 not open below error came

A network-related or instance-specific error occured while establishing a connection 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)
Posted
Updated 4-Nov-14 23:27pm
v3
Comments
Nelek 5-Nov-14 4:31am    
Well, the error message is quite self-explaining. Have you debug to find out where is breaking?

With that few information, we can not do much. Please read:
What have you tried?[^]
How to ask a question?[^]
best way to post code snippets[^]
KaushalJB 5-Nov-14 4:45am    
Unclear !! Update your question with what have you tried so far in code for your (Login Process).

Check your connection string, paying particular attention to the Integrated Security or User ID and Password sections.

The former is normally only used for development, the later is almost always used for production. The latter requires fully valid id and password, so double check those against the data you were given by the DBA.
 
Share this answer
 
http://www.codeproject.com/Questions/335874/A-network-related-or-instance-specific-error-occur
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900