Hi all, I've been trying to create an ADO connection to my Visual FoxPro databases on several network drives on my ASP pages but always end up with the following message when I try to query to the through the connection.
Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
[Microsoft][ODBC Visual FoxPro Driver]File 'dbtablename.dbf' does not exist.
I am positive the dbf is there. The connection string I¡¦ve used is this.
set cn = Server.CreateObject("ADODB.Connection"
connstr = "Driver={Microsoft Visual FoxPro Driver};
SourceDB=\\networkcomputername\foldername;SourceType=DBF;"
cn.Open connstr
set rs = cn.Execute ( "SELECT * FROM dbtablename" )
Which works fine when the SourceDB is set to a local drive (C:/somefoler). I am using IIS 5.0 on Windows 2000 Pro. I also tried to set the SourceDB to something like I:/foldername where I is the local mapped drive name. What am I doing wrong?
Thank you for your time.
Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
[Microsoft][ODBC Visual FoxPro Driver]File 'dbtablename.dbf' does not exist.
I am positive the dbf is there. The connection string I¡¦ve used is this.
set cn = Server.CreateObject("ADODB.Connection"
connstr = "Driver={Microsoft Visual FoxPro Driver};
SourceDB=\\networkcomputername\foldername;SourceType=DBF;"
cn.Open connstr
set rs = cn.Execute ( "SELECT * FROM dbtablename" )
Which works fine when the SourceDB is set to a local drive (C:/somefoler). I am using IIS 5.0 on Windows 2000 Pro. I also tried to set the SourceDB to something like I:/foldername where I is the local mapped drive name. What am I doing wrong?
Thank you for your time.