为什么在64位的Windows不是VFP .NET OLEDB提供工作?不是、工作、Windows、OLEDB

2023-09-04 07:23:07 作者:语嗨

我写了用VB读取从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...

推荐答案

您是否尝试过改变目标的CPU 86 而不是在高级编译选项任何CPU?我知道,这解决了一些问题,与其他 OLEDB 提供商通过强制使用的32位版本。

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.