Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp.net page into a vfp db
Message
From
16/06/2011 08:18:58
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01514343
Message ID:
01514651
Views:
40
>I've just checked and if I take out the data access parts it will work fine.
>at the top of the asp page I have this line
>
>-#include file="connection.asp"
>
>and in the connection.asp page
>
>Dim objConn, ConnStr, dbLoc
>Set objConn = Server.CreateObject("ADODB.connection")
>dbLoc=server.mappath("\portal\dbfinfo\agweb.dbc")
>ConnStr= "Driver=Microsoft Visual FoxPro Driver; " + _
>      "UID=;SourceType=DBC;SourceDB=" + dbLoc
>objConn.Open ConnStr
>
If VFP has not been installed on that server, I assume you have installed the VFP ODBC driver. Maybe you could try a reinstall.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform