Re: Accessing Foxpro tables from ADO
- From: "swdev2" <wsanders@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Mar 2006 13:39:28 -0600
Hullo Gerard -
I can't pinpoint what the problem is exactly - but -
IF the database is ON the webserver - then I would suggest to you that
somehow the index file is set to read only access for the web server account
of iUSR (or some similar name).
If the database resides on a network share FROM the webserver, then there's
some other things you'll need to do for user rights for the webservers iUSR
account...
Sorry I can't be more specific - perhaps someone else here can pick this up?
regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net
"Gerard Harris" <gerard.harris@xxxxxxxxxx> wrote in message
news:#VBNurTQGHA.720@xxxxxxxxxxxxxxxxxxxxxxx
The development PC is XP service pack2follwing
The webserver is IIS 5.1
It's using version 9.0.0.3504 of vfpoledb.dll
Regards
Gerard
"swdev2" <wsanders@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uTS8ymTQGHA.4900@xxxxxxxxxxxxxxxxxxxxxxx
Hullo Gerard -
what is name/version of webserver software?
what os does the webserver run on?
what version of the vfp oledb driver set is installed on the web server
machine?
regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net
"Gerard Harris" <gerard.harris@xxxxxxxxxx> wrote in message
news:#vn9hiTQGHA.4900@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
We wish to access a Foxpro database from a web page and use the
adCmdTableDirectconnection stringthisSuperstore
Set coni = Server.CreateObject("ADODB.Connection")
coni.ConnectionString = "Provider=vfpoledb.1; data source=" &
& "items.dbc;exclusive='No';"
coni.open
Set rs2=Server.CreateObject("adodb.recordset")
rs2.CursorLocation = adUseServer
rs2.Open "items", coni, adOpenKeyset, adLockOptimistic,
rs2.Index = "prod_code"
It all goes wrong on the last line with the message:
Error Type:
ADODB.Recordset (0x800A0CB3)
Current provider does not support the necessary interface for Index
functionality.
Anone any idea on how to fix this problem?
Gerard Harris
gerard.harris@xxxxxxxxxx
.
- References:
- Accessing Foxpro tables from ADO
- From: Gerard Harris
- Re: Accessing Foxpro tables from ADO
- From: swdev2
- Re: Accessing Foxpro tables from ADO
- From: Gerard Harris
- Accessing Foxpro tables from ADO
- Prev by Date: Re: Larger .JPG Images (VFP 6.0 worked) and VFP 9.0 won't see or print
- Next by Date: Re: VFP Precision limits?
- Previous by thread: Re: Accessing Foxpro tables from ADO
- Next by thread: Re: Accessing Foxpro tables from ADO
- Index(es):
Relevant Pages
|
Loading