Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the VFPOLEDB.1 provider
Message
From
17/12/2002 17:59:31
 
 
To
All
General information
Forum:
ASP.NET
Category:
Visual FoxPro Toolkit for .NET
Title:
Using the VFPOLEDB.1 provider
Miscellaneous
Thread ID:
00733915
Message ID:
00733915
Views:
86
I am working with the 'Using ASP.NET in Visual Studio .NET with Visual FoxPro 7.0' example on MSDN. In short, I can get this to read a .DBF on my C:\ drive, but not a network drive. I get 'Invalid File name or path'.

My connection string ...
Provider=VFPOLEDB.1;Data Source=t:\custacct.dbf;Mode=Share Deny None;Extended Properties="";User ID="";Password="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DSN="";MVCOUNT=1024

Notes: I have a 'user' account setup for ASPNET. It has permissions on the my 'T:\'drive. I created this string with the editor. I tested the connection and it worked. Again, if I just change the t:\ to c:\, everything works. The password and userid seems to be irrelevant in this circumstance.

Thanks in advance,
Ken
Next
Reply
Map
View

Click here to load this message in the networking platform