[thelist] Connection string issue

Anthony Baratta anthony at baratta.com
Fri Jan 12 21:32:13 CST 2007


Flavia Tarzwell (FayeC) wrote:
> Set Con = Server.CreateObject("ADODB.Connection")
> ConnectString= "Provider=Microsoft.Jet.OLEDB.4.0;" &_
>           "Data Source=" & Server.MapPath("..\db\database1.mdb") 

Windows 2003 disallows this by default, and you might have issue with 
parent paths too.

Try it this way:

"Data Source=" & Server.MapPath("\") & "..\\db\\database1.mdb")




More information about the thelist mailing list