开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜