Access file path

Discussion in 'Databases' started by vickyb, Mar 6, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi guys
    Please can someone help. I have uploaded my Access database (2002) onto the server and have created an aspx page which updates it. However I am getting an error when I try to use this page. The path name I have used is not being recognised. Can anybody tell me what the generic path is? I had assumed it would be userid\_database\name of db but this does not work.
    I'm very new to all this so apologies if this is a really obvious question, and I hope someone can help me!
    Thanks
    Vicky [:)]
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    User server.mappath function, that make your code more portable.

    server.mappath("/_database/dbname.mdb") would give your the path.


    quote:Originally posted by vickyb

    Hi guys
    Please can someone help. I have uploaded my Access database (2002) onto the server and have created an aspx page which updates it. However I am getting an error when I try to use this page. The path name I have used is not being recognised. Can anybody tell me what the generic path is? I had assumed it would be userid\_database\name of db but this does not work.
    I'm very new to all this so apologies if this is a really obvious question, and I hope someone can help me!
    Thanks
    Vicky [:)]
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page