Re: VFP 8 and ODBC connection



What Fred said. <g>

Dan

Adrian wrote:
Hi Dan,

Thanks for your advice. I am pretty new for VFP, I am actually trying
to built up and debug from a project which has been going on for a
while (from 2001). I am much more comfortable with VB and ASP. Could
you please give me more details on you comment "Foxpro is perfectly
capable of using its native data engine and UNC paths. If you switch
to native table access"
Apologies for the trouble.
Many thanks

Using ODBC (or OLEDB, as your error message indicates) in a Foxpro
application to access Foxpro data is pointless and leads to
unecessary complications such as what you're seeing.

Foxpro is perfectly capable of using its native data engine and UNC
paths. Just remember to close any dbf (and dbc) at the end of every
method. If you switch to native table access, you may also get more
meaningful error messages. :-)

Dan

Adrian wrote:
Hi,
I am using software developed in VFP and trying to connect to the
*.DBC on a
different server. Basically the web application part of the software
is on a
dedicated application server and the database part of the software
on
another
dedicated database server. I use ODBC system DSN to connect to the
*.DBC from
the web application server. I use UNC instead of map drive. I have
created a
domain user account and has distributed full writes to the servers +
application and IIS. When I run the application I get the first ASP
(classic
ASP) page which is the login page, once the user name and password
has been
eneterd this page should take us to the menu page but instead it
gives me
this error
ââ?¬Å?Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Visual FoxPro Driver]Cannot update the cursor.
/weblarms/login1.asp, line 85�
And line 85 of the login1.asp is

'update the last successful login date
objpwdcontrol.loginupdate(session("uid"))

I have tried giving full access to all the folders available read,
write,
execute etc but it still comes up with this error. Normally
ââ?¬Å?Cannot
update
the cursor� comes when the folder does not have read/write
access
but in this
case they have full access to all the relevant files and folders. I
have even
given ââ?¬Å?Everyoneââ?¬Â? ââ?¬Å?Anonymous Userââ?¬Â?
ââ?¬Å?ASP.NETââ?¬Â? ââ?¬Å?NETWORK SERVICESââ?¬Â? full access to
this folder but still it is not allowing
me to go further. Please any help to
resolve this matter will be very much appreciated.
Many thanks

-----------
Adrian


.



Relevant Pages

  • Re: Dial-Out Uncontrollable?
    ... > Hi Marina ... Can you re-send (to adrian@ instead ... > Thanks for your continued support ... >>> a gateway to the internet via the moem with NAT, and for the server to ...
    (microsoft.public.windows.server.sbs)
  • =?Utf-8?Q?Re:_Event_ID_623_=28kein_Mailverke?= =?Utf-8?Q?hr_mehr_m=C3=B6glich=29?=
    ... > Hallo Adrian, ... >> Heute morgen meldet der Server den Fehler, ... Prev by Date: ... Next by Date: ...
    (microsoft.public.de.german.exchange2000.general)
  • Re: Publish/Subscribe Lib for Python?
    ... Adrian> create a server running on a Unix box that ... Adrian> will accept client connections (from GUIs built with ... - Clients open TCP socket to server as a "subscription", ...
    (comp.lang.python)
  • RE: windows Automatic Update
    ... you should search the Microsoft Knowledge Base. ... Also, you say you're on broadband, but the server you are trying to download ... "Adrian" wrote: ...
    (microsoft.public.windowsupdate)