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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

accessing data on remote web server for intranet asp's

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hi,

if there is a database sitting on some remote web server and i would like to access one of it's tables
for an asp page on my company intranet , or from an .mdb on my pc, how could i do it?
is this even possible?
 
It's possible if the other database is something like SQL Server or Oracle, and that database has a static IP address that is accessible via the Internet.

If that's the case, then get yourself a userName and password, check out the connection string FAQ in this forum, and you'll be good to go.

:)
Paul Prewett
penny.gif
penny.gif
 
thanks link9!

How about if i don't want the user to have to log on with each trip/transaction to the web db?
if a vpn is used to connect to the remote server can i just use standard odbc connections to the remote database?

Would obtaining the static IP for the remote database be the way to go if there was no VPN connection, however?
 
Yes, the IP address is the only way to go if there's no VPN connection.... whether it be through an ODBC DSN or whatever... somewhere, the IP (or the serverName if there is the VPN connection always present) will have to be used in order for your script to know where to go.

Does that answer your question, or did I miss it?

paul
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top