J
JeanieW
Guest
Our customer wants to put their database file in the web space, and setup ODBC connection to connect the microsoft access file.
Below are information entered in control panel:
Drive: "Microsoft Access Driver (*.mdb)
[DBQ] DB File Path: "C:\Inetpub\vhosts\domainname.com\httpdocs\foldername\databasename.mdb"
Below are customer's script
Set strConn = Server.CreateObject("ADODB.Connection")
strConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("
C:\Inetpub\vhosts\domainname.com\httpdocs\foldername\databasename.mdb"))
They found the path is totally not work. Why ?
Please help. Thanks.
Below are information entered in control panel:
Drive: "Microsoft Access Driver (*.mdb)
[DBQ] DB File Path: "C:\Inetpub\vhosts\domainname.com\httpdocs\foldername\databasename.mdb"
Below are customer's script
Set strConn = Server.CreateObject("ADODB.Connection")
strConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("
C:\Inetpub\vhosts\domainname.com\httpdocs\foldername\databasename.mdb"))
They found the path is totally not work. Why ?
Please help. Thanks.