Results 1 to 3 of 3

Thread: Remote Access databases

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2002
    Location
    Grand Rapids, MI
    Posts
    166

    Remote Access databases

    I'm new to asp, but I have done some work with VB. not much. we're using multiple Access databases located on several different machines on the network. I want to query each of those databases on an asp page being served off my localhost, but when I try to give the location of the db's the way I do in the VB version,("Y:\abc\abc.mdb") it doesn't work. Is there another way I have to do this? The page works when I copy an .mdb to the local directory, but I can't do that with all of them. thank you.

  2. #2
    Lively Member
    Join Date
    Aug 2002
    Location
    India
    Posts
    97
    Why dont you try creating a DSN and using it in the connection string
    \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
    Dont quote anyone if you can help it -
    THM
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    AFAIK, mapped drives work for the locally logged in user, not a service account like IIS would use. Use \\ServerName\ShareName\filename.ext type naming convention to access the shared folders, and there are security issues - the account IIS accesses the shared folder with needs permissions set, etc.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width