Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDB access to DBFs across servers
Message
 
 
To
06/11/2008 10:49:41
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360189
Message ID:
01360204
Views:
13
It looks like permission problem and I'm pretty sure it is. Are you using linked server to access VFP tables?
BTW, you tried MS JET ODBC driver not VFP ODBC driver.


>I am using the latest Oledb drivers from within Sharepoint and SQL Server 2005 to read/write to DBFs. This works fine when the dbfs are on the same server but doesn't work at all when the dbfs are on a different server (in the same domain.) From within the same application I can access non-dbf tables and files on any server in the domain so I don't think it's a permissions problem and I've uninstalled the antivirus/firewall to test that but I still cannot access the dbfs across servers. I've tried using the ODBC VFP drivers as well with not luck across servers. Has any one come across this problem?
>
>The error is:
>Connection not opened, Error: Invalid path or file name.
> System.Data.OleDb.OleDbException: Invalid path or file name.
>
>I've tried the complete UNC path AND mapping the drive and using drive letters. Same error message. I do get a slightly different error message when using the ODBC dBase driver with this connection string: Driver={Microsoft dBase Driver (*.dbf)};datasource=\\sgisqldev\data\abd
>The error is:
>Connection not opened, Error: ERROR [42S02] [Microsoft][ODBC dBase Driver] The Microsoft Jet database engine could not find the object 'clt.dbf'. Make sure the object exists and that you spell its name and the path name correctly.
>
>Thanks,
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform