dsn less connection

chiragk

Guppy
do you allow dsn less connections to access database? if yes, what is the string path for the location

thanks
 
Yes, of course. You can store your database in the root directory and then access it like this:

Server.MapPath("../mydatabase.mdb")

However, you'd have to request us to enable parent paths for your account by emailing [email protected]. Otherwise, ".." would not work
 
chiragk said:
do you allow dsn less connections to access database? if yes, what is the string path for the location

thanks
Or, if you want to use hard-coded path, you can look up for it running such script:
Code:
Server.MapPath("/")
:)
 
Back
Top