Click here to Skip to main content
Rate this: bad
good
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 7:45am
Edited 31-Jan-13 7: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
0 Zoltán Zörgő 300
1 /\jmot 205
2 CHill60 145
3 Peter Leow 145
4 CPallini 135
0 Sergey Alexandrovich Kryukov 9,373
1 OriginalGriff 6,881
2 Peter Leow 4,577
3 Zoltán Zörgő 4,244
4 CHill60 2,892


Advertise | Privacy | Mobile
Web04 | 2.8.150129.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2015
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