I'm writing an application in VB.Net 2005. As I get to a good stopping point, I compile and build an install and send it to our tester friend. This is my first program that will need to be installed on Vista. The first version I gave him worked just great. But the second version I'm getting the error "Provider cannot be found. It may not be properly installed." I know this has to do with not being able to find the database, but I can't figure out the problem.
Between the first version and the second version, I renamed a bunch of the tables in my access database. We had problems because I didn't know about compatibility files. I figured that out and uninstalled the old version and erased all files left behind in the user's directory on vista. The old version would install into ProgramData\SubFolder and then when you ran the software it would create copies in the user's ProgramData\SubFolder and would run from there. Well, this new version never copies the database to the user's ProgramData folder. So, then I get the error mentioned above when the program loads and tries to access the database. But also, if I manually copy the database where it needs to go, I still get the error.
I also had updated from Office 2003 to Office 2007 on my development machine between the two versions, but the database is still in Access 2003. I do make changes to the 2003 version using Access 2007 though. I'm not sure if that matters. The software still works fine on my XP development machine. And also on my Vista laptop. But for some reason it's not copying files like it's supposed to on the tester's computer.
Has anyone seen behavior like this before? I've been googling, but I can't seem to find anything specifice.
Thanks!
Between the first version and the second version, I renamed a bunch of the tables in my access database. We had problems because I didn't know about compatibility files. I figured that out and uninstalled the old version and erased all files left behind in the user's directory on vista. The old version would install into ProgramData\SubFolder and then when you ran the software it would create copies in the user's ProgramData\SubFolder and would run from there. Well, this new version never copies the database to the user's ProgramData folder. So, then I get the error mentioned above when the program loads and tries to access the database. But also, if I manually copy the database where it needs to go, I still get the error.
I also had updated from Office 2003 to Office 2007 on my development machine between the two versions, but the database is still in Access 2003. I do make changes to the 2003 version using Access 2007 though. I'm not sure if that matters. The software still works fine on my XP development machine. And also on my Vista laptop. But for some reason it's not copying files like it's supposed to on the tester's computer.
Has anyone seen behavior like this before? I've been googling, but I can't seem to find anything specifice.
Thanks!