Results 1 to 2 of 2

Thread: engineer

  1. #1
    Join Date
    Dec 1969

    Default engineer

    Dear sir,<BR> My ASP code for local testing is like this:<BR> oConn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=d:ASPdatabaseFingerTipOld.mdb"<BR> For the local testing, I use the path "d:ASPdatabaseFingerTipOld.mdb" for the database. But which path can I put the database when I upload the database to the server? Because I don&#039;t know which drive (d: or c: etc) are the server used, I can not locate the correct path for the ASP program. Can I used the related path? <BR> <BR>Best Regards<BR>Eric<BR>

  2. #2
    Sorna Guest

    Default RE: engineer

    Use server.MapPath like the below one<BR>oConn.Open "DRIVER=Microsoft Access Driver (*.mdb);DBQ="&Server.MapPath("/FingerTipOld.mdb")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts