为什么 VFP .NET OLEDb 提供程序不能在 64 位 Windows 中工作?

发布于 2024-07-03 23:57:16 字数 227 浏览 8 评论 0原文

我使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

自此以后,行同陌路 2024-07-10 23:57:16

Sybase Anywhere 有一个用于 VFP 表的 OLEDB 提供程序。 它在页面中声明服务器支持64位Windows,不知道OLEDB提供程序

支持64位Windows和Linux服务器

为了进一步增强可扩展性,适用于 Windows 和 Linux 的 Advantage 数据库服务器添加了对 x86_64 架构的支持。 在配备 x86_64 处理器和 64 位操作系统的计算机上,Advantage Database Server 现在将能够使用超过 4GB 的内存。 额外的内存将允许更多的用户同时访问服务器,并增加服务器在处理查询时可以缓存的信息量。

我自己没有尝试过,但是有些人 报告其工作正常。

指向 Advantage Server/VFP 页面的链接

Sybase Anywhere has a OLEDB provider for VFP tables. It states in the page that the server supports 64 bit Windows, don't know about the OLEDB provider:

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.

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

养猫人 2024-07-10 23:57:16

您是否尝试过在高级编译器选项中将目标 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 other OLEDB providers by forcing the use of the 32-bit version.

陈年往事 2024-07-10 23:57:16

您需要将目标 CPU 设置为 x86 进行编译,以强制您的代码使用 VFP 的 32 位 版本OLE Db 提供程序

Microsoft 已声明 没有计划发布 64 Visual FoxPro OLE Db 提供程序的 -bit 版本。 值得一提的是,微软还声明 VFP 9 是最终版本Visual FoxPro 的版本和支持将于 2015 结束。 如果您需要 VFP 9OLE DB 提供程序,您可以此处

You'll need to compile with the target CPU set to x86 to force your code to use the 32 bit version of the VFP 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 of Visual FoxPro and support will end in 2015. If you need the OLE DB provider for VFP 9, you can get it here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文