﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Remotely Connect and Query a db. / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 03:46:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>Mike,What OS are your workstations using?Are these stand-alone workstations? Meaning are they the only workstations in their individual environments? Or when you say there is no windows domain, do you mean that there are no servers in these individual environments, just PCs?</description><pubDate>Wed, 12 Sep 2012 04:20:28 GMT</pubDate><dc:creator>Brandie Tarvin</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>[quote][b]David Webb-200187 (9/11/2012)[/b][hr]Are you using windows authentication (probably won't work if the workstations aren't authenticating to a domain with a trusted relationship to the server) or SQL authentication?[/quote]Honestly, I don't even see SQL authentication working unless he can build a dedicated connection between the workstations.And notice that he did say workstations, not servers. So with two workstations not in the same building, and connecting to the internet on 2 different ISPs, we've potentially got a lot more problems here than just the basic security one.</description><pubDate>Wed, 12 Sep 2012 04:18:45 GMT</pubDate><dc:creator>Brandie Tarvin</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>What's the error message you get?  Server does not exist or cannot log in?  Are you using windows authentication (probably won't work if the workstations aren't authenticating to a domain with a trusted relationship to the server) or SQL authentication?</description><pubDate>Tue, 11 Sep 2012 14:57:45 GMT</pubDate><dc:creator>David Webb-CDS</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>[quote][b]mike 61998 (9/11/2012)[/b][hr]I don't get it.  both PC's have Static IP Addresses and both have SQL Remote connection settings enabled?[/quote]As the other replies indicated, this is about security, not addressing (and not really about SQL specifically either), and there are [i]lot[/i] of possible security gates between A and B that could be stopping you (and it's likely not just one thing either).The first thing to do is to establish whether you can make *ANY* connection between the two boxes.  So, can you ping workstation B from workstation A?  Can you make any other kind of connection from A to B?</description><pubDate>Tue, 11 Sep 2012 14:50:54 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>I don't get it.  both PC's have Static IP Addresses and both have SQL Remote connection settings enabled?</description><pubDate>Tue, 11 Sep 2012 14:08:58 GMT</pubDate><dc:creator>mike 61998</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>[quote][b]mike 61998 (9/11/2012)[/b][hr]They are not on the same network.[/quote]Ah. [i]There's[/i] your problem.</description><pubDate>Tue, 11 Sep 2012 13:42:30 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>[quote][b]mike 61998 (9/11/2012)[/b][hr]One is a workstation connected to the internet using Comcast (not on a windows domain), and the other is a workstation on a bellsouth connection (not on windows domain either)[/quote]Ah, that's a horse of a different color.You're going to need some sort of SSH tunnel or VPN or something to hook these two workstations together.</description><pubDate>Tue, 11 Sep 2012 13:15:15 GMT</pubDate><dc:creator>Brandie Tarvin</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>Maybe you could look at your cable modem for the network with the 2000 server and see if it needs to forward ports. One hint would be if the 2000 computer has an ip address starting with numbers 192.168. ie., 192.168.x.x</description><pubDate>Tue, 11 Sep 2012 12:11:07 GMT</pubDate><dc:creator>patrickmcginnis59</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>One is a workstation connected to the internet using Comcast (not on a windows domain), and the other is a workstation on a bellsouth connection (not on windows domain either)</description><pubDate>Tue, 11 Sep 2012 12:02:35 GMT</pubDate><dc:creator>mike 61998</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>[quote][b]mike 61998 (9/11/2012)[/b][hr]They are not on the same network.[/quote]This sounds like it's a Trust issue. Talk to your network / Active Directory admin and see if they can set up a trusted connection between the domains. That might be the main issue.</description><pubDate>Tue, 11 Sep 2012 11:52:32 GMT</pubDate><dc:creator>Brandie Tarvin</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>They are not on the same network.</description><pubDate>Tue, 11 Sep 2012 10:42:45 GMT</pubDate><dc:creator>mike 61998</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>Actually, you failed to answer the most important question:  Are they on the same network?</description><pubDate>Tue, 11 Sep 2012 10:29:21 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>BTW, Computer A uses a default instance (local)Any help please?</description><pubDate>Tue, 11 Sep 2012 10:02:28 GMT</pubDate><dc:creator>mike 61998</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>On Computer A, the users can connect by using, "(local)\ABCPOS"I have the IP Address of COmputer A, and I've tried, "x.x.x.x\ABCPOS" and still not able to connect.I have no idea what the credential are, but I know that when on Computer A, I can connect using Windows Authentication.Any other Help Ideas would be much appreciated.thanks.</description><pubDate>Tue, 11 Sep 2012 09:02:20 GMT</pubDate><dc:creator>mike 61998</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>Did you create a Linked Server object for which to pass through credentials?Are the credentials you are using for one server valid on another, or can those credentials at least impersonate the credentials on the other server?Did you try tracert or ping from Server A to Server B?</description><pubDate>Tue, 11 Sep 2012 08:07:11 GMT</pubDate><dc:creator>Brandie Tarvin</dc:creator></item><item><title>RE: Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>Is your instance on Computer A your default instance or is it a named instance?Do you have a DNS that will solve Computer A name for your Server B?Do you use the same network or your Computer A is in a different network than your Server B?If different network, can you connect to your Computer A from Computer A using external IP?Commonly you would use something like this:ServerName\InstanceNameServerName,9999 (ServerName,PortNumber)192.168.0.5\InstanceName (IPAddress\InstanceName)192.168.0.5\9999 (IPAddress\PortNumber)www.ServerName.com\InstanceName(URL,InstanceName)www.ServerName.com,9999 (URL,PortNumber)</description><pubDate>Tue, 11 Sep 2012 06:58:53 GMT</pubDate><dc:creator>Luis Cazares</dc:creator></item><item><title>Remotely Connect and Query a db.</title><link>http://www.sqlservercentral.com/Forums/Topic1357354-391-1.aspx</link><description>Hello.I have a SQL 2000 database used by a scheduling application on (we'll call it),  [b]Computer A[/b] .  I also have a SQL 2008 db server (we'll call it) [b]Server B[/b].  [b]Computer A[/b] &amp; [b]Server B[/b] are in separate cities.I need to create a job on [b]server B[/b] that queries the data on [b]Computer A[/b] every hour and sends a report.  I've tried everything from opening ports 1433, enabling remote connections, enabling TCP/IP and I still can't connect.  Can anyone get me some feedback?Let's start with what should I be typing in the SERVER NAME field when I open up SSMS on [b]Server B[/b]?  I figure, if I can at least successfully establish a connection, I should be ok.  I've tried typing the IP Address / instance name with no success.Thanks</description><pubDate>Tue, 11 Sep 2012 06:23:50 GMT</pubDate><dc:creator>mike 61998</dc:creator></item></channel></rss>