Solved

Driver for Visual Fox Pro

Posted on 2012-03-23
4
1,098 Views
Last Modified: 2012-03-26
Need to create liked servers on a 2008 r2 SQL server. Running on a 2008 window server.
When I try and create a new linked server I am missing the Microsoft OLE DB provider for Visual Fox Pro Driver
0
Comment
Question by:GadFriedman
  • 2
4 Comments
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 37757252
I am not much experienced in these latest servers.

OLE DB provider does not run on 64-bit I think.

When I needed to connect to the latest SQL Databases from FoxPro, the original driver did not work.

cSQL = "DRIVER=SQL Server"

I used this instead:

cSQL = "DRIVER=SQL Native Client"
cSQL = cSQL + ";SERVER=111.222.333.444"
cSQL = cSQL + ";TRUSTED_CONNECTION=No"
cSQL = cSQL + ";DATABASE=shoppy_test"
cSQL = cSQL + ";UID=username"
cSQL = cSQL + ";PWD=password"
0
 

Author Comment

by:GadFriedman
ID: 37757262
I am trying to connect form SQL server to the FoxPro Database
0
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 500 total points
ID: 37757301
Do you need it live or for just one time import?

If you have FoxPro you can copy the files as CSV and then import them in SQL.

Otherwise I can't help you further. Sorry!
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 37767644
You'll find the VFP OLEDB Provider download at
http://www.microsoft.com/download/en/details.aspx?id=14839

Of course it's not in the preinstalled list of drivers. Like Cyril said SQL Server 64bit does not necessarily see it, but look at SSIS. Creating an SSIS solution you can set a property "Run64bitRuntime" to False, so it can use 32bit drivers even on 64bit SQL Servers.

Additional to that, in an SSIS step using the 32bit OLEDB provider you need to set execution options to "use 32 bit runtime".

I also can't help you with linked server, I fear there are no such options for the database service just runs 64bit.

Bye, Olaf.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now