hello, i have been told by my hosts that if i want to connect my access database to my UD4 pages i need a .asp script. i have no idea what i need in that, could someone tell me what to put in it!
server.mapPath is the key there... put the relative path to your database in there, and the method will return the absolute path to it, which is what the connection string must contain.
Then, when you open your connection, use this syntax:
Another helpful hint. Drop me a note and I can forward a file that you can run on your server that will tell you the drive, path etc so the previous post's suggestion will help. I personally steer towards the mappath as the lovely people at your hosting company may move your virtal directory onto another box and not tell you! (hmm....does it sound like that happened to me!?)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.