Results 1 to 4 of 4

Thread: Local host .MDB location

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    12

    Local host .MDB location

    I have developed a web application. I am using VB.NET to create a web form application. For data access, I am using OLEDBDataadapter. I configure this OLEDBDATAADAPTER. I do not want to specify absolute path for the .mdb (ACCESS database). I want to use the relative path. However, when I run the application, it displays an error message unable to locate c:\winnt\system32\ mdb file name.

    Why does it use the 'winnt\system32' as a default path to locate the .mdb FILE?

  2. #2
    New Member
    Join Date
    Jan 2003
    Posts
    1
    bump. can anyone help?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    12

    Thumbs up i think, i found a solution.

    I found a web site which has the solution to my problem.

    http://www.experts-exchange.com/Prog...20393199.html.

    The solution on this website helped me. However, it is not very clear how they implemented the solution in VB.NET. It would be nice, it anyone can guide how to use the Server.MapPath using the OLEDBDataAdapter configuration wizard.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    12

    the 'winnt\system32' is ASP.NET default path.

    The 'winnt\system32' is ASP.NET default location. So, if there is no hardcoded path for the .MDB file, it uses 'winnt\system32' as the default location.

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