Still having trouble connecting to database

Results 1 to 2 of 2

Thread: Still having trouble connecting to database

  1. #1
    lm Guest

    Default Still having trouble connecting to database

    I have used the Server.MapPath and am still receiving an error. I tried several different versions of code. Is there something else that could be going wrong with connecting to the database. As I mentioned before, this does work locally for me. Here is the line of code I am using:<BR><BR>objConn.Open("driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.mappath("guestbook.mdb"))<BR><BR>I did try using Provider=Microsfot.Jet.OLEDB.4.0;.... and received additional error messages.

  2. #2
    Join Date
    Dec 1969

    Default debug

    response.write server.mapth("guestbook.mdb")<BR><BR>will tell u, where iis is looking for the mdb file,then correct the param given in server.mappath.

Posting Permissions

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