View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
Actually FoxWeb is FoxPro, so by definition there cannot be any compatibility problems between any of FoxPro's commands and FoxWeb.  More likely, there is a compatibility problem with the ODBC driver you are using.  What kind of difficulty are you having when you try to debug your scripts?  The Debugging FoxWeb Scripts topic of the FoxWeb documentation describes how you can trace through your programs with the VFP debugger.

If you would like further assistance you will need to provide some additional information.  How did you get the error message you listed here?  It does not seem to be in the usual format returned by FoxWeb.  Is the whole channel crashing?

We recommend that you strip your program down to the smallest number of lines that illustrate the problem.  Try running the same code from a VFP session to make sure that everything works fine.  If you find no problems there, then you should also try FoxWeb with the Run as Service and Use Run-Time DLL options disabled.  This will allow you to see any errors popping up in your FoxWeb channels.

FoxWeb Support Team

Sent by J. Busker on 02/19/2002 02:27:10 PM:
I am trying to transfer data from an oracle table using ODBC.  I get the following error in Foxweb.  I cannot debug foxweb programs.  Can you help?

Fatal Error:  Exception code=C0000005
Called from - myProgram.prg (STRTOFILE() routine)
Called from - www_run line 269 (www_read.prg)
Called from - www_readline 46 (www_read.prg)
Called from - start line 38 (start.prg)

I can exclude the commands related to the oracle ODBC [like SQLCONNECT() and SQLEXEC()] using data from a previous attemp, and the program works fine, so there must be a conflict between the foxpro odbc commands and foxweb.  The table in the STRTOFILE() function is less than 2K in size.