This topic is locked

Path

1/26/2005 7:42:07 AM
ASPRunnerPro General questions
author

My Webserver structure provides me with a folder for database files (e:\home\myname\databases)...

How can I direct connection to this path? In fact how can i do that both using map serverpath OR using entire path above?

Sergey Kornilov admin 1/26/2005

Robert,
here is the sample connection string that uses hardcoded path to the database:

strConnection = "Provider=MSDataShape;DBQ=e:\home\myname\databases\your_database_name.mdb;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;UID=admin;"

501145 1/28/2005

Thanks a million!!

I'm sorry my question wasnt very clear, but your reply was perfect....and worked fine...

I am a newcomer (bought AspRunner just this week). I am very impressed with quality plus fact that it matches almost I need. Going to try out now the uploading facilities. Congratulations....