Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Frequently Asked Questions
 FAQ for Webmasters
 FAQ: Where is my Access database Located ?
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

heptite
Average Member

USA
547 Posts

Posted - 05 August 2000 :  22:31:26  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
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
<
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07