开发者

how to get IIS to work with dbf files?

开发者 https://www.devze.com 2023-02-05 22:28 出处:网络
problem is the following: raised the IIS server on Windows XP, but when accessing the dbf files crashes exception.

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

精彩评论

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

关注公众号