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.
>I'm having trouble using the VFP oledb driver in an ASP page. When I try to open the connection IIS hangs and I have to restart it. Here is the source I am using.
>
><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.
>The database is located in the same directory as the page.
>
>Any ideas?
>
>Thanks,
>Dan
Hector Correa