lawrie
03-27-2007, 04:05 PM
hi all
first off, i know absolutely nothing at all about ASP; i use PHP a little, but I'm mostly a Flash programmer. I've just had to take over a client's site in an emergency and move it across to a new server. the problem is, a particular feature of the site was done in ASP, and an included connection file points to the absolute path of the .mdb database, but obviously with the site being on a new host the path no longer exists:
MM_sos_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\domains\s\site.com\user\htdocs\MapData.mdb"
i checked with the new host, and their faqs state that i should simply use:
Server.MapPath("")
however, the new host also talks about setting up a file DSN to properly enable access and... well, at this point I'm completely lost. will i have to recode most of the connection data to establish a connection to the file DSN, or can the original file simply be modified?
please, please help!
first off, i know absolutely nothing at all about ASP; i use PHP a little, but I'm mostly a Flash programmer. I've just had to take over a client's site in an emergency and move it across to a new server. the problem is, a particular feature of the site was done in ASP, and an included connection file points to the absolute path of the .mdb database, but obviously with the site being on a new host the path no longer exists:
MM_sos_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\domains\s\site.com\user\htdocs\MapData.mdb"
i checked with the new host, and their faqs state that i should simply use:
Server.MapPath("")
however, the new host also talks about setting up a file DSN to properly enable access and... well, at this point I'm completely lost. will i have to recode most of the connection data to establish a connection to the file DSN, or can the original file simply be modified?
please, please help!