I have a console app that opens an oleDBConnection to access some data from a FoxPro database.
The app works great when I run in Debug. However, if I try to run the app in Release rather than Debug, I crash on the line conn.Open(); with an error stating that my VFPOLEDB.1 provider is not registered on the local machine.
I’m not sure what it means by that since there seemed to be no problem with the provider when run in Debug mode and all the data was successfully returned from the database.
Any ideas on what may be going on here?
Thanks tons!
The Visual Studio you have is 32-bit, right? And process started out of VS is 64-bit, guess I right?
Set up the project as x86 and the error could disappear.