how to get IIS to work with dbf files?
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 som开发者_Go百科ething else be done?
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:\Your\Path\OnIISMachine\YourDatabase.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?
精彩评论