user1532468
user1532468

Reputation: 1751

Build referencing wrong database

In my settings, I am using a database 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.

In my settings tab it is set as:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\demo\demo.accdb.

Where can I check why it is doing this?

Upvotes: 0

Views: 50

Answers (1)

pankeel
pankeel

Reputation: 1148

You Can Check App.Config File or Check The Database Explorer to Another Database Is Not Attached With Project.

or

You Can check Settings.Designer.vb file in your solution

Upvotes: 1

Related Questions