problem is the following:
raised the IIS server on Windows XP, but when accessing the dbf files crashes exception.
driver to work with files vfpoledb set. out of the visual studio everything works fine.
could something else be done?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
I don’t know if its case sensitive or not, but the connection string should be something like
String connString = “Provider=VFPOLEDB.1; Data Source= C:YourPathOnIISMachineYourDatabase.dbc;”
If that’s ok, then do you have the proper OleDB driver from Microsoft Link for OleDB Provider
— REVISION FROM COMMENT
Does the SERVER have the OleDb Provider installed… it is required on any machine that will be running the code. So, testing on your machine (XP) running IIS works fine because you have the OleDB provider on your machine. Then, you deploy the app to the server and it doesn’t, it can’t connect. Is THAT what is happening?
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0