Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPOLEDB and ASP
Message
 
To
27/09/2002 17:06:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00705444
Message ID:
00705455
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform