Question
Server.Mappath and _mmServerScripts problem
Ok my problem is simple I know how to work with it but I'm
sure there has to be a fix or its a bug.
Using dreamweaver 8, and this connection string...
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("ce_db.mdb")
it keeps telling me that D:\path\path2\_mmServerScripts\ce_db.mdb is not found
(duh of course i dont have it there, its here D:\path\path2\ce_db.mdb)
it runs fine on the website though!
now i do this Server.MapPath("../ce_db.mdb")
and it works in dreamweaver but the website tells me this
Microsoft JET Database Engine error '80004005'
Could not find file 'd:\path\ce_db.mdb'.
the only way i found to fix it its to change the connection everytime im done working with the database but that sucks
anyone knows how to fix it?
Using dreamweaver 8, and this connection string...
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("ce_db.mdb")
it keeps telling me that D:\path\path2\_mmServerScripts\ce_db.mdb is not found
(duh of course i dont have it there, its here D:\path\path2\ce_db.mdb)
it runs fine on the website though!
now i do this Server.MapPath("../ce_db.mdb")
and it works in dreamweaver but the website tells me this
Microsoft JET Database Engine error '80004005'
Could not find file 'd:\path\ce_db.mdb'.
the only way i found to fix it its to change the connection everytime im done working with the database but that sucks
anyone knows how to fix it?
