Click here to Skip to main content
12,504,002 members (55,144 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
A network-related or instance-specific error occurred 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Posted 31-Jan-13 6:45am
Updated 31-Jan-13 6:52am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Hi friends
This is a common error when establishing connection with database.
To solve this follow the following process:

Process 1:
Check the instance name And password

if it is correct then check following

Process 2:
1. Go to " SQL server Configuration Manager"
2. go SQL server services
3. check the server state. If its state is "stop" the change the state as running
reconnect with server.

you may check it.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100