Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 30th, 2005, 11:12 PM
Registered User
 
Join Date: Nov 2005
Location: , , .
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?

Reply With Quote
  #2 (permalink)  
Old February 22nd, 2006, 11:44 AM
Authorized User
 
Join Date: Oct 2005
Location: , , .
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:21 AM.


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