If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Im running a quasi-webserver from my place. Its a school project. Its running fine and dandy. However I needed to upload it to a domain I own in order to have access to if for a presentation.
I uploaded all the pages and the databases. Is it legit to have the db physically on the domain? I can't seem to get it working.
Originally posted by rokslide
Legit? Definately, although you run the risk of it being available for people to grab depending on where in your site you have placed it...
Your problems probably come from the method you use to connect to the db or due to the fact that your host doesn't supprot asp....
What problems exactly are you having??
Well i was using:
Code:
'Open the Connection
Set usrConn = Server.CreateObject("ADODB.Connection")
' Attempt to open connection
usrConn.Open "driver={Microsoft Access Driver (*.mdb)};" & _
"dbq=c:\data\data.mdb"
to open my db. not sure really what to use now... i tried using the address that it was stored on the web but not dice.
when you say the address that was stored on the web what do you mean?
You should probably look at using mappath to locate the actual drive location for the database file. That should solve your problem if it's a location problem.
Basically I have a web domain. And I want everything to reside on it. So I want the database and all the asp pages to be on the domain so it can be stand alone.... i'll check out mappath.