can't connect to a database in Vista?
One of my testers is testing my program that imports an XML file and puts all the data into correct fields in an Access database. He said on his Vista laptop he got an error saying:
"Microsoft.jet.OLEDB.4.0 provider is not registered on local machine"
I know you don't have to have Access installed to run my program and I'm pretty sure all the OLEDB objects are in the .NET framework so why is it saying that?
Re: can't connect to a database in Vista?
I had this error when trying to build/run a project on my 64bit vista laptop. I had to go into my project properties and make sure it was set to compile for the 32 bit platform specifically.
HTH!! :wave:
D
Re: can't connect to a database in Vista?
I know I've seen that option somewhere before when I was working on another program but now I sure can't find it :( it doesn't seem to be in project properties. They do have what type of CPU to target but no 32/64 bit picker. Okay, I give up, where's it at? :P
Re: can't connect to a database in Vista?
IIRC you have to go to project properties, then the compile tab. There should be an advanced button there and either at the bottom or near the bottom is a "Target CPU" combobox. Default is any which usually uses whatever is installed on the machine. Try changing it there and then see if that helps.
D