Results 1 to 2 of 2

Thread: mappath?

  1. #1
    Join Date
    Dec 1969

    Default mappath?

    here is my code..question to follow<BR>-----<BR>Dim conn<BR> conn = "DRIVER={Microsoft Access Driver (*.mdb)};" _<BR> & "DBQ=" & "../asp/login.mdb" & ";"<BR><BR>------<BR><BR>i have the database in a different dir than than this .asp file...and the server.mappath does not let you do ../asp/login.mdb<BR><BR>is there a way i can just put the true path there...what do i do?

  2. #2
    Join Date
    Dec 1969

    Default It's an IIS setting...

    By default, IIS doesn&#039;t allow MapPath to use ".." above the root of the virtual directory.<BR><BR>You can change that setting (I think it&#039;s called "Enable Parent Paths"...look in IIS HELP), though there are good reasons not to do so. You just have to weigh the impact of your choices.<BR><BR><BR>

Posting Permissions

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