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...
相关问题
- Generic Generics in Managed C++
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
- Should I use static function in c# where many call
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.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.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