Try using this, both locally and remotely:
Dim sConnectionString
sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.MapPath("/tutorial/guestbook.mdb")
Note that unless you've configured IIS so that read-access is denied to that
file or directory via HTTP, anyone in the world can download your database.
(Assuming that directory is a WWW-published directory.)
Ray at work
<MR********@comcast.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Microsoft has a tutorial for ASP. There is a connection string in the
code
as follows:
DBQ=C:\Inetpub\Wwwroot\Tutorial\guestbook.mdb;"\
How do I change this statement once I move the page to my web server?
I
have the database in my root folder.
Thanks