Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 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
Comments
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

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
 
Share this answer
 
v3
Comments
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)



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