Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO to dBASE5 via ASP over Win2K Server network

Status
Not open for further replies.

PaulMcGuinness

Programmer
May 22, 2002
111
GB
Help please!

I am using the following connection string to access a dBASE5 (Goldmine) database over the LAN using ADO within an ASP script:-
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=S:\Goldmine;Extended Properties=dBASE 5.0;"

With this string I get:-

Error Type:
Microsoft JET Database Engine (0x80004005)
'S:\Goldmine' 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.
/faults/editfault2.asp, line 77




However, It all works fine if I copy the dBASE files to the local machine and change the connection string to:-

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath(".\") & ";Extended Properties=dBASE 5.0;"


The machine definately has an S:\ drive, and on the target system (Win2K Server) I have set the "Computer" on which the web-server is running to have full rights to that directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top