Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2005, 11:12 PM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default connecting to SQL server from website

Hey.

I'm new to SQL server. Can someone explain to me how I connect to the SQL server that is on my computer, from a web page? I have created an ASP page and uploaded it onto a web server, but I need to be able to read from my database that is on SQL server on my computer? how do I do this?

Also, can someone explain to me how this actually works? Let's say someone logs onto my website from their computer. they need to see the info from the data base so ASP calls for the information from my computer, is this right? Doesn't that mean that my computer would have to be on so that it can acess the database?

 
Old February 22nd, 2006, 11:44 AM
Authorized User
 
Join Date: Oct 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am also kind of new to all of this programming but I do understand the server process. You will only be able to access a database on your machine from the web if;

1.) The machine is allways switch on.
2.) The database is visable from the web and has either an external facing IP or a host name.

You are probably finding a host who will also host your DB.

When you come to connecting to the db you can use all sorts dependant on version etc.

I hope this helps you a little.

Ryan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to sql server Scripts82 SQL Server 2000 1 March 27th, 2006 10:07 PM
URGENT:Connecting SQL server through Proxy server abhowal Pro VB Databases 2 January 9th, 2006 01:47 PM
URGENT:Connecting SQL server through Proxy server abhowal SQL Server 2000 3 November 30th, 2005 04:22 AM
URGENT:Connecting SQL server through Proxy server sankar SQL Server 2000 0 August 26th, 2003 03:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.