acceses and asp.net

Discussion in 'C#' started by progfrog, Jul 3, 2008.

  1. #1
    from some reason my asp.net page doesn't find my 1.mdb file that i've put in the app_data in the websie althought it mentioned the full directory to the file
    (besides that the debuggging was alright )

    need u
    progfrog
     
    progfrog, Jul 3, 2008 IP
  2. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Please post the code and post the exception/error message you get.
    Also be aware that some hosting doesn't like underscore so try with renaming "app_Data" to "AppData" and see what will happen.
     
    yugolancer, Jul 4, 2008 IP
  3. helpbeam

    helpbeam Guest

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    what connection string are you using?
    and what error do you get?
     
    helpbeam, Jul 8, 2008 IP
  4. Forrest

    Forrest Peon

    Messages:
    500
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Use Server.MapPath to create your connection string.
     
    Forrest, Jul 8, 2008 IP