We have Web Server on a Windows NT 4.0 machine which is accessing a
Foxpro database (Version 2.5) in another Windows NT 4.0 machine on the network.

When we try to connect the Foxpro Database from the Web Server, Using ASP
through System DSN
it is giving us the following Error.

Microsoft OLE DB Provider for ODBC Drivers error '80040e37'
[Microsoft][ODBC Visual FoxPro Driver]File 'emp.dbf' does not exist.

In the DSN we have given the path pointing to the directory containing table
.DBF file.
Is there any problem with the Foxpro ODBC DLL vfpodbc.dll (Version 6.0.8862.0),
If so can you suggest any solution.


This is the code in the global.asa of the project.
Here we create an Apllication level Variable for storing the
connection string.


Application("FOX25_ConnectionString") = "DSN=FOXDB;"
Application("FOX25_ConnectionTimeout") = 15
Application("FOX25_CommandTimeout") = 30
Application("FOX25_CursorLocation") = 3
Application("FOX25_RuntimeUserName") = ""
Application("FOX25_RuntimePassword") = ""

-------------------------------------------------------------------------------------

This is code which Quries the Foxpro database depending upon the Operation