set oConnection = Server.CreateObject( "adodb.connection" ) oConnection.Provider = "vfpoledb.1" oConnection.ConnectionString = "data source=c:\fullpath\mydata.dbc" oConnection.Open>>You need to specify the full path to the database. When you go through ASP, you are not on the same folder as the database. Most likely you are on the Windows\System32 folder or something like that.
>>><html> >>><head> >>><title>Just A Test</title> >>></head> >>><body> >>>Just a test <P> >>> >>>< % ERROR: >>> >>>set conn = server.createobject("adodb.connection") >>> >>>conn.Open("Provider=vfpoledb.1;Data Source=testdata.dbc;") >>> >>>Response.Write("Hello") >>> >>>conn.Close() >>> >>> % > >>> >>> >>></body> >>></html> >>>>>>I know the driver works fine. I have a test app in FoxPro that works.