Results 1 to 3 of 3

Thread: Problam COnnecting the Database

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    3

    Problam COnnecting the Database

    Hello every one.
    I have a litle problem connecting to an accsess database
    The error message i get is
    Code:
    Cannot use a leading .. to exit above the top directory.
    What do i do?

    thank you

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Problam COnnecting the Database

    Perhaps if you show us your code, we can tell you what to correct.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    3

    Re: Problam COnnecting the Database

    This is the connection

    Code:
     Public strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & Server.MapPath("../../data/db.mdb")

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