Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked Server Question

Status
Not open for further replies.

jfield817

Programmer
Joined
Jun 2, 2000
Messages
153
Location
US
Foxpro tables have been set up as a Linked Server
to a SQL 7.0 database .....I'm pretty sure
the Linked Server part is set up correctly however
getting this errormsg when I use the Openrowset
query and I know the dbf file exists and was referenced
in the sp_addlinkedserver procedure


select * from openquery([LinkedServername], 'select * from filename')

The following appears:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [Microsoft][ODBC Visual FoxPro Driver]File 'filename.dbf' does not exist.]

Thanks
John

 
If you open Enterprise Manager, and look at the linked server do you see column details in the file? (You might need to change the Linked Server permissions so that you can access the Linked Server using account you logon to EM with)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top