为什么VFP .NET OLEdb提供程序不能在64位Windows中工作?
时间:2020-03-05 18:37:24 来源:igfitidea点击:
我使用VB编写了一个Windows服务,该服务从Visual Foxpro数据库中读取了一些要插入SQL 2005的旧数据。问题是这种用法可以在Windows Server 2003 32位系统中很好地运行,但是客户端最近移到了Windows 2003 64位系统中现在该服务将无法使用。我收到一条消息,未找到VFP .NET OLEdb提供程序。我进行了研究,似乎一切都指出没有## 解决方案。任何帮助,请...
解决方案:
我们是否尝试过在高级编译器选项中将目标CPU更改为x86而不是" Any CPU"?我知道这可以通过强制使用32位版本来解决其他" OLEDB"提供程序的一些问题。
我们需要将目标CPU设置为x86进行编译,以强制代码使用VFP OLE Db provider的32位版本。
Microsoft已经声明,没有计划发布Visual FoxPro OLE Db提供程序的" 64位"版本。值得一提的是,微软还表示VFP 9是Visual FoxPro的最终版本,支持将在2015年结束。如果我们需要VFP 9的OLE DB提供程序,可以在这里获取。
Sybase Anywhere具有用于VFP表的OLEDB提供程序。它在页面上指出服务器支持" 64位Windows",而对" OLEDB提供程序"一无所知:
Support 64-bit Windows and Linux Servers In order to further enhance scalability, support for the x86_64 architecture was added to the Advantage Database Servers for Windows and Linux. On computers with an x86_64 processor and a 64 bit Operating System the Advantage Database Server will now be able to use memory in excess of 4GB. The extra memory will allow more users to access the server concurrently and increase the amount of information the server can cache when processing queries.