如何让IIS与DBF文件? [英] how to get IIS to work with dbf files?

查看:134
本文介绍了如何让IIS与DBF文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题如下:
提出了在Windows XP上的IIS服务器,但访问DBF文件时崩溃异常。
驱动程序的工作与文件vfpoledb设置。出视觉工作室的一切工作正常。

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.

可能别的东西做什么?

推荐答案

我不知道,如果它的大小写敏感与否,但在连接字符串应该是这样

I don't know if its case sensitive or not, but the connection string should be something like

字符串CONNSTRING =供应商= VFPOLEDB.1;数据源= C:\\你\\路径\\ OnIISMachine \\ YourDatabase.dbc;

String connString = "Provider=VFPOLEDB.1; Data Source= C:\Your\Path\OnIISMachine\YourDatabase.dbc;"

如果这是确定,那你有没有从<一个适当的OLEDB驱动程序href=\"http://www.microsoft.com/downloads/en/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en\"相对=nofollow>微软链接OLEDB提供商

If that's ok, then do you have the proper OleDB driver from Microsoft Link for OleDB Provider

- 修订要从注释

服务器是否已经安装了OLEDB提供程序......,要求将运行code的任何计算机上。因此,测试你的机器(XP)运行IIS,因为你有你的机器上的OLEDB提供程序工作正常。然后,您部署应用服务器,它不,它无法连接。是发生了什么事?

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?

这篇关于如何让IIS与DBF文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆