Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

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

$
0
0

I just started learning ASP.NET through a book, and it asks to connect to "your" SQL server and explore a .mdf file. I've been trying to install SQL, but I only just now got a working installation, and even then it won't let me install the Management Software. Whenever I try to connect, I get this error: http://puu.sh/7F2JY.png

This is exactly what I do to connect:

1) Open project

2) Navigate to the Server Explorer

3) Click on connect to database

4) In this menu, I can see me Machine name on the top part, which I think means that it's picking up my server runningh

5) On the bottom, it wants me to enter a database name. I think this may be my problem, as I have no idea what to do here.

Also, when I double click on the database file, I get this errpr (52): http://puu.sh/7F2Yw.png

I really don't know what to do here, so post any tips down below



Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>