Solved

Driver for Visual Fox Pro

Posted on 2012-03-23
4
1,123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
In this article I will describe the Copy Database Wizard 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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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