By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,881 Members | 645 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,881 IT Pros & Developers. It's quick & easy.

path is not a valid path

P: 41
Hi all,

I am trying to do what I thought would be a simple task: connect to a
foxpro database, that resides on another machine on our network,
through .Net.

I get the following error:

//windowsrv//f$//GSD//DEPO//L1//' is not a
valid path. Make sure that the path name is spelled correctly and that
you are connected to the server on which the file resides

Now this path is definitly a valid one.

The code is. i use connection string from web.config :

<add key="cnstr" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=//windowsrv//f$//GSD//DEPO//L1//;Extended Properties=dBASE III "/>

f is drive name,
here f is remote drive.application is on local machine and database is on remote machine.
Let u know one thing that i posted error is come when i run application from iis,it run successfully when i run it from VWD.

Any ideas?
Jun 9 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.