I cannot connect to my basic SQL server from Visual Studio Ultimate 2013? Error 40 - Cannot establish connection


i started learning asp.net through book, , asks connect "your" sql server , explore .mdf file. i've been trying install sql, got working installation, , won't let me install management software. whenever try connect, error: http://puu.sh/7f2jy.png

this connect:

1) open project

2) navigate server explorer

3) click on connect database

4) in menu, can see me machine name on top part, think means it's picking server runningh

5) on bottom, wants me enter database name. think may problem, have no idea here.

also, when double click on database file, errpr (52): http://puu.sh/7f2yw.png

i don't know here, post tips down below


hi,

did choose correct server name? should machine name installed sql server on.

is empty when open select or enter database name drop box in add connect dialog box in visual studio 2013?

“update: re-installed, , used both installers. have server management tools, still cannot connect.”

the screenshots indicates sql server not accessible.

do mean not able connect sql server using sql server management studio?

if so, make sure sql server services started.

please check out following articles details:

how to: start instance of sql server (sql server configuration manager)

http://technet.microsoft.com/en-us/library/ms190699(v=sql.105).aspx

connect sql server component sql server management studio

http://technet.microsoft.com/en-us/library/ms173871.aspx

thanks.


tracy cai
technet community support



SQL Server  >  Getting started with SQL Server



Comments

Popular posts from this blog

Reindexing

Users List

List of charts