0

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,

Any ideas?

2
Contributors
2
Replies
5
Views
7 Years
Discussion Span
Last Post by satiss7pwr
0

I believe your key should looks like below :

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

I have removed "$" sign and added ";" at the end.

Try it :-)

0

Thanks for reply.
but i have try ur suggetions and made changes and run application from the Visual Web Developer ,it cant found path, 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.
i hope u understand what i want to say

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.