Results 1 to 2 of 2

Thread: Build referencing wrong databse

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2013
    Posts
    44

    Build referencing wrong databse

    Just a general question. In my settings, I am using a databse called demo.accdb which is in a folder 'demo'. However, when I build my project, it is referencing demo.mdb which is an entirely different database in a different folder. I have checked app.config & settings.settings and they are referencing the correct file.

    In my settings tab it is set as:

    Code:
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\demo\demo.accdb.
    Where can I check why it is doing this. Many thanks.

  2. #2
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,508

    Re: Build referencing wrong databse

    My guess would be that your not using that connection string when your retrieving your data. Post the code your using to retrieve and save the data.

Tags for this Thread

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