Question: How can I tell where my Microsoft Access database is located?
Answer: There are several different methods, but the easiest thing to do is to create a small .asp file and upload it to the same directory your .mdb file is located in. Here's the code to put in the file (I named mine whereami.asp)
Where Am I
Path Translated = <%= Request.ServerVariables("PATH_TRANSLATED") %>
After you load this .asp file in your browser, you'll see the path to your .asp file, which is also the path to your .mdb file, you just have to use the .mdb file name instead.
Here's an example:
Path Translated = D:\inetpub\namethisname\forum\whereami.asp
So I would then use D:\inetpub\namethisname\forum\whatever.mdb in config.asp.
ASPDiva Forum - http://www.aspdiva.com/forum/default.asp
<