为什么 VFP .NET OLEDb 提供程序不能在 64 位 Windows 中工作?
我使用 VB 编写了一个 Windows 服务,该服务从 Visual Foxpro 数据库中读取一些旧数据并将其插入到 SQL 2005 中。问题是这种用法在 Windows Server 2003 32 位中运行良好,但客户端最近迁移到 Windows 2003 64 位现在该服务无法正常工作。 我收到一条消息,指出未找到 VFP .NET OLEDb 提供程序。 我进行了研究,一切似乎都表明没有解决方案。 任何帮助,请...
I wrote a windows service using VB that read some legacy data from Visual Foxpro Databases to be inserted in SQL 2005. The problem is this use to run fine in Windows server 2003 32-Bits, but the client recently moved to Windows 2003 64-Bits and now the service won't work. I'm getting a message the the VFP .NET OLEdb provider is not found. I researched and everything seems to point out that there is no solution. Any Help, please...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Sybase Anywhere
有一个用于VFP
表的OLEDB 提供程序
。 它在页面中声明服务器支持64位Windows
,不知道OLEDB提供程序
:我自己没有尝试过,但是有些人 报告其工作正常。
指向 Advantage Server/VFP 页面的链接
Sybase Anywhere
has aOLEDB provider
forVFP
tables. It states in the page that the server supports64 bit Windows
, don't know about theOLEDB provider
:I didn't try it by myself, but some people of the VFP newsgroups reports that it works OK.
Link to the Advantage Server / VFP Page
您是否尝试过在高级编译器选项中将目标 CPU 更改为
x86
而不是“任何 CPU”
? 我知道这通过强制使用 32 位版本解决了其他 OLEDB 提供程序的一些问题。Have you tried changing the target CPU to
x86
instead of"Any CPU"
in the advanced compiler options? I know that this solves some problems with otherOLEDB
providers by forcing the use of the 32-bit version.您需要将目标
CPU
设置为x86
进行编译,以强制您的代码使用VFP 的
。32 位
版本OLE Db 提供程序Microsoft 已声明 没有计划发布
64 Visual FoxPro OLE Db 提供程序的 -bit
版本。 值得一提的是,微软还声明 VFP 9 是最终版本Visual FoxPro
的版本和支持将于2015
结束。 如果您需要VFP 9
的OLE DB
提供程序,您可以此处。You'll need to compile with the target
CPU
set tox86
to force your code to use the32 bit
version of theVFP OLE Db provider
.Microsoft has stated that there are no plans on releasing a
64-bit
edition of the Visual FoxPro OLE Db provider. For what's worth, Microsoft has also stated that VFP 9 is the final version ofVisual FoxPro
and support will end in2015
. If you need theOLE DB
provider forVFP 9
, you can get it here.