Using Server.MapPath to connect to Database outside of root website folder
Posted on 2004-08-11
I am trying to use Server.MapPath to link to a database located in the folder located at C:/inetpub/wwwroot/internal_genesis/access/Genesis Accounts.mdb from a page located at C:/indetpub/wwwroot/external_genesis/dologin.asp. I can not get it to see the database. What is the syntax that I need to be using to get to that database?
I have tried Server.MapPath("C:/inetpub/wwwroot/internal_genesis/access/Genesis Accounts.mdb") and Server.MapPath("../internal_genesis/access/Genesis Accounts.mdb")
Thanks for your help