p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_databases thread: How To Put Database Online ?


Message #1 by "siew wei" <swtan78@h...> on Thu, 20 Dec 2001 08:05:11
I have currently publishing my application online . For normaly file such 

as asp and wml files , i can just upload them to the site . But , how 

about the database that still located in my PC ? How am i going to put it 

online ? i have no idea at all .



THanks a lot
Message #2 by Mark Eckeard <meckeard2000@y...> on Thu, 20 Dec 2001 05:06:00 -0800 (PST)
Check with the company that hosts your site and see if

they offer a database package for you to use.





--- siew wei <swtan78@h...> wrote:

> I have currently publishing my application online .

> For normaly file such 

> as asp and wml files , i can just upload them to the

> site . But , how 

> about the database that still located in my PC ? How

> am i going to put it 

> online ? i have no idea at all .

> 

> THanks a lot 





$subst('Email.Unsub').





__________________________________________________

Do You Yahoo!?

Check out Yahoo! Shopping and Yahoo! Auctions for all of

your unique holiday gifts! Buy at http://shopping.yahoo.com

or bid at http://auctions.yahoo.com

Message #3 by "Sidney James P. Fuerte" <fuertsj1104@y...> on Fri, 21 Dec 2001 02:30:34 +0800
well first ask your host if you are allowed to use databases online, if

so... you can just put it at any location, depending what what type of

connection you are using in your program then you can just map physically

the location of your database.







-----Original Message-----

From: Mark Eckeard [mailto:meckeard2000@y...]

Sent: Thursday, December 20, 2001 9:06 PM

To: ASP Databases

Subject: [asp_databases] Re: How To Put Database Online ?





Check with the company that hosts your site and see if

they offer a database package for you to use.





--- siew wei <swtan78@h...> wrote:

> I have currently publishing my application online .

> For normaly file such

> as asp and wml files , i can just upload them to the

> site . But , how

> about the database that still located in my PC ? How

> am i going to put it

> online ? i have no idea at all .

>

> THanks a lot





$subst('Email.Unsub').





__________________________________________________

Do You Yahoo!?

Check out Yahoo! Shopping and Yahoo! Auctions for all of

your unique holiday gifts! Buy at http://shopping.yahoo.com

or bid at http://auctions.yahoo.com






$subst('Email.Unsub').



Message #4 by "Scott Reed" <scottr@m...> on Thu, 20 Dec 2001 13:36:11 -0600
If you are using Access databases....



1)Create a folder in your web directory called "datastore"



2)Have the server Administrator set the I_USER privileges to Read/Write for

that folder



3)Create an asp page with the following code:

<%

strDSN = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="&

Server.MapPath(".")

Response.Write strDSN

%>



4)Upload that page to the "datastore" directory and call it in your web

browser

(it will return the physical path to that directory and write it to the

page)



5)Use that path to connect to any database in that directory



6)Upload all of your database(s) to that directory







--- siew wei <swtan78@h...> wrote:

> I have currently publishing my application online .

> For normaly file such

> as asp and wml files , i can just upload them to the

> site . But , how

> about the database that still located in my PC ? How

> am i going to put it

> online ? i have no idea at all .

>

> THanks a lot





$subst('Email.Unsub').





__________________________________________________

Do You Yahoo!?

Check out Yahoo! Shopping and Yahoo! Auctions for all of

your unique holiday gifts! Buy at http://shopping.yahoo.com

or bid at http://auctions.yahoo.com






$subst('Email.Unsub').








$subst('Email.Unsub').




  Return to Index