Results 1 to 4 of 4

Thread: Mappath

  1. #1
    Join Date
    Dec 1969

    Default Mappath

    How do I map(server.mappath) to an other server?<BR><BR>mike

  2. #2
    DeQuicey Guest

    Default RE: Mappath

    Um...this is the Database forum...<BR><BR>And, anyway, what the heck are you trying to do?<BR><BR>Server.mappath returns a physical path on the local server. So, you&#039d need an asp page on the other server, but it&#039ll give you the path on that server. Not some path from one server to another...<BR><BR>Basically it&#039s there give you a physical path for a file when you need that as input for something else. Using Server.MapPath() avoids coding static locations of the type "D:inetpubwwwroot..."<BR><BR>Check this out...<BR>

  3. #3
    mike (again) Guest

    Default RE: Mappath

    this is what I want:<BR>strProvider="Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & \*.mdb ??

  4. #4
    Join Date
    Dec 1969

    Default Access DB on another server...

    The real question is "can we connect to an Access db across severs?"<BR><BR>Server.mappath isn&#039t part of the solution even if the connection is possible.<BR><BR>You may be running into a permissions issues.<BR>That may require something like this:<BR><BR><BR><BR><BR>But, before you try that, you need 1st question answered. (And I&#039ll tell you that I don&#039t know, don&#039t even have the Access provider installed on my server...;P)

Posting Permissions

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