Click here to Skip to main content
13,054,615 members (48,351 online)
Rate this:
Please Sign up or sign in to vote.
See more:
while making a new database in visiual studio 2010 ..i am getting this error .......

A network related or specific error occurred while establishing a connection to sql server .the server was not found or was not accessible .verfiy that the instance name is correct and that sql server is configured to allow remote connections (error 26: error locating server/instance specified))
please tell me the solution
thanks in avance
Posted 29-Mar-13 4:37am
RedDK 29-Mar-13 14:08pm
Try connecting. What I mean is, connect to whatever is there in the Server Browser. If you can use anything there, start your developement on that.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Make sure Sql Server Agent Service has started in you computer .
And the user name, password, and the name of the database is correct in the connection string.

If the database is at remote location check your internet connection
okishore7 29-Mar-13 10:51am
i am getting an error if i start the sql server Agent(error:1068the dependency service or group failed to start) agent and my basebase is local ...

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.170713.1 | Last Updated 29 Mar 2013
Copyright © CodeProject, 1999-2017
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