0
Answer

ASP.Net 2.0 - connecting to a dBase folder

Photo of Robert Turner

Robert Turner

19y
2.6k
1

I have created an asp.net 2.0 application that access dBase IV files and when these are on my development machine I have no access problems.

However when I modify my connection string to access the files on a network server I am getting problems.

The folder containing the dbase files is a sub folder which is situated on the d drive of the server. The folder is shared, which the folder name, and access is granted to 'Everyone'.

my connection string is:

<add name="GMBase" connectionString="Data Source=\\Ntserver1\Goldmine\GMBase;Extended Properties=dBase IV;provider=Microsoft.Jet.OLEDB.4.0"/>

When I excute the application I am getting the error:

System.Data.OleDb.OleDbException: '\\Ntserver1\Goldmine\GMBase' 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.


Can anyone help me with this

Answers (0)