how to get IIS to work with dbf files?

安稳与你 提交于 2019-12-31 03:55:23

问题


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?


回答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:\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?



来源:https://stackoverflow.com/questions/4745487/how-to-get-iis-to-work-with-dbf-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!