![]() |
Sergey Kornilov admin 6/8/2004 |
Chris, |
T
|
Tegwin author 6/8/2004 |
Ok that did not work. logs Private webroot
|
![]() |
Sergey Kornilov admin 6/9/2004 |
According to the above directory structure the following connection string should work (I assume that ASP code resides in webroot\ckeys directory). strConnection = "Provider=MSDataShape;DBQ=" & server.mappath("..\..\Private\dbname.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;UID=admin;"
|
T
|
Tegwin author 6/9/2004 |
Hello, strConnection = "Provider=MSDataShape;DBQ=" & server.mappath("..\..\Private\cdkeys.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;UID=admin;
strConnection = "Provider=MSDataShape;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & 'server.mappath("'\private\cdkeys.mdb") & ";UID=;PWD="
|
![]() |
Sergey Kornilov admin 6/9/2004 |
As far as I can see your connection string misses ..\.. in file path. Also there are some strange single quote characters in your connection string that probably break everything. |
|
500130 6/9/2004 |
Even in my connection string when I used ..\..\private it still does not work. strConnection = "Provider=MSDataShape;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & 'server.mappath("'..\..\private\cdkeys.mdb") & ";UID=;PWD="
strConnection = "Provider=MSDataShape;DBQ=" & server.mappath("..\..\Private\cdkeys.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;UID=admin; |
![]() |
Sergey Kornilov admin 6/9/2004 |
Chris, |