I am not sure if it even works in 64-bit Vista!
Main Topics
Browse All TopicsHi
I am trying to set up linked server in SQL server 2008 (x86 32 bit) to a folder of FoxPro files. I have downloaded and installed the FoxPro OLE DB driver and tested it by using it in VS .Net 2008. However, after creating a linked server with the following command
EXEC sp_addlinkedserver
@server='VFP',
@provider='VFPOLEDB',
@datasrc='c:\dev\taxisyste
@srvproduct='Visual FoxPro'
I get the following erro when I try and query data
The OLE DB provider "VFPOLEDB" has not been registered. (Microsoft SQL Server, Error: 7403)
The account SQL Server is running under has ful access to the data folder
Any help appreciated
Thanks
Steve
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am also not sure why it does not work for you (planning to test this configuration soon), but you could try @provider='VFPOLEDB.1' or to establish Linked server via UI in SQL Management studio.
Another attempt would be to install VFP ODBC driver and use it via OLE DB provider for ODBC drivers (I think it is called MSDASQL).
Hi
I now have the provider installed OK but when I set up the link server and try and view the tables I get the error below, I have cheeked the folder name and even removed all the DBF files but still get the error. I can use the provider in C# to view the tables so its installed OK
Steve
The OLE DB provider "VFPOLEDB" for linked server "VFP6" reported an error. The provider did not give any information about the error.
Cannot obtain the schema rowset "DBSCHEMA_TABLES" for OLE DB provider "VFPOLEDB" for linked server "VFP6". The provider supports the interface, but returns a failure code when it is used. (.Net SqlClient Data Provider)
My VFP linked server is defined as described in attached code snippet and works fine.
If you have specific problem you should post command which caused this problem. It will allow to reproduce errors in our environment.
But it seems you've fixed many problems from your other posts. Please close questions which are answered or obsolete (like this one probably).
Hi
Thanks for the help and I have now closed my other questions.
My issue is now how to speed up my queries. I have made the changes above but a one-to-many query across 2 tables of 5,000 and 120,000 rows which selects a single row from the first table and 30 from the second takes 10 seconds. Is there anything in term of index setup etc that may help
Steve
Query
select *
from TAXI...Accounts b,TAXI...Work b
WHERE a.account='TC0763' and a.account=b.ref
Business Accounts
Answer for Membership
by: prices1964Posted on 2009-10-02 at 15:28:04ID: 25482797
.. I am running Vista 64 bit