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

Connecting to external database

$
0
0

I have an instance of winserver 2012 on Amazon web services. The instance included a bundle of additional pre configured things. One was the SQL 2008 server express. I am working locally on my machine in Visual Studio and I have an asp.net application. I want to connect to this database that lives out on AWS.  In the datasource control that I added, I want to configure it to be able to not look for the database locally, but look for it via an external ip address. So I'm trying ipaddress/sql servername/database name, and it's not working.

Am I even trying this the right way? Can it be done? For servername, I am using the name I see at the top of the tree in the SQL management studio, and the IP address that I am using is the public ip address of the winserver that amazon says it is which sql is installed on. I'm able to connect to webpages using this ip address so everything seems fine with the ip address.


Viewing all articles
Browse latest Browse all 7129

Trending Articles