I am currently developing a page that is running on my local system and on a remote site. I need to be able to connect my ASP page to an Access database. I have always done this by hard coding the location or setting up a DSN in the control panel. My system and the remote site store the data in different locations, is it possible to map the locations some other way then hard coding or a DSN? I have included the locations on my local system and on the remote server that the ASP and Database will be located. I tried using MapPath to connect to the db but found that the MapPath method does not support relative path syntax. If anybody have any suggestions, they would be greatly appreciated.
My Local System
Database - c:\inetpub\domainroot\db\some.mdb
ASP - c:\inetpub\domainroot\public_html\some.asp
Remote System
Database - d:\inetpub\ASP - d:\inetpub\
My Local System
Database - c:\inetpub\domainroot\db\some.mdb
ASP - c:\inetpub\domainroot\public_html\some.asp
Remote System
Database - d:\inetpub\ASP - d:\inetpub\