Forums
This topic is locked
Problem with MapPath
Posted 05 Sep 2001 10:36:29
1
has voted
05 Sep 2001 10:36:29 Michael Reiner posted:
I´ve got a problem using the MapPath funktion to connect with a database. I´ve tried to establish a connection with a Access Database without using DSN´s, if I use the ConnectDatabase String as described in the book or in the Helpfiles, i´m recieving an error message, telling me that the string is not OLE DB Format... but I´ve copied the String out of the Help info.... What I´m trying to do is connecting to a Access Database that is in the same directory as the ASP File. Perhaps there is a easy solution, but I´m unable to find it now.
Replies
Replied 05 Sep 2001 14:41:38
05 Sep 2001 14:41:38 Andrew Watson replied:
there is a very useful extension called Get Database Path or something which will return in a browser the ACTUAL location of your DB on the web server, this can be copy and pasted into your connection string and ive found it works a treat, after having many hours of pain trying to establish connections. It can be found here....
www.basic-ultradev.com/extensions/index.asp?searchOn=path
www.basic-ultradev.com/extensions/index.asp?searchOn=path