Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to SQL Server Database

Status
Not open for further replies.

Chopper

Programmer
May 30, 2000
59
US
I am trying to connect to a SQL Server Database on a remote server and I get an error on the connection string.

The information I have is the IP Address, the username and password, and the initial catalogue. The error I get is: Specified SQL Server not found. (so, essentially, it cannot locate the SQL Server with the IP address) I am doing this from my PC and I don't even know where the machine with the database is located.

What information do I need to know to get connected to the SQL server rather than the IP Address? i.e. how do I find out the name to reference the server correctly?

Many thanks,

-Chopper


 
IP is all you should need. If you are going thru a firewall then you may have some problems unless a certain port is open. Offhand I can't remember which port SQL Server uses.

Have you tried making a DSN to the SQL Server or installed the SQL Server Client software and testing a connection? Wushutwist
 
Wushutwist,

I do not have any SQL Server software on my PC. I have been trying to test the connection via a .UDL I created on my desktop. I am doing this at another site, so I will have to wait to try anything out. I will investigate the firewall issue, however. Thank you for your reply, and I will post again if there are any additional problems.

-Chopper


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top