Greetings,
I'm new to ASP.Net websites and databases and I'm following examples in a book, as I learn all this. I'm currently following an example in the book on adding and configuring an AccessDataSource and adding a simple Access .mdb that the author created.
Situation: In VS2008 Standard Edition (while developing a sample website), I'm trying to bring into the App_Data folder an existing Access 2003 database (.mdb) that the author of the book already created. I downloaded the .mdb to my Desktop from the author's website. In VS, when I right-click on the App_Data folder and select "Add Existing Item...", then navigate to and select the .mdb file and try to add it, I get the error message:
"An error occurred while processing the local data file:
Object reference not set to an instance of an object."
When I click the "OK" button on the error message, VS still adds the .mdb to the App_Data folder, but then the next steps in the example in the book no longer work or match up. Obviously, there's some issue with adding the .mdb to the website project, but I can't figure it out after days of researching through my books, MSDN, and visiting several forums.
Everything in the book has been working properly up until this point.
I'd really appreciate if anyone has a solution and explanation of what's going on, so I can fully understand and correct it and move forward with my learning. Thank You.
System:
Vista Ultimate x64, SP1
IIS 7 that came with Vista Ult.
VS2008, SP1
ASP.Net 3.5, SP1