Date:  05/09/2005 02:08:55 PM Msg ID:  002543
From:  FoxWeb Support Thread:  002538
Subject:  Re: fw_exit & fw_enter error
Where are fw_enter.prg and fw_enter.fxp located?  These files must reside in the Program Root directory for the virtual server receiving the current hit. If you are not sure where this is, you can run fwadmin.fwx and look at the System Information page.  The location will be displayed next to "Virtual Program Root"
 
Also, how did you compile the file?  Did you use fwadmin.fwx, or did you do it with an external copy of VFP?  If you did not use fwadmin.fwx, then you must make sure that you used a matching version of VFP.  The "VFP Compile Version" item in fwadmin.fwx will tell you the version of VFP you must use.

FoxWeb Support Team
support@foxweb.com email

Sent by Michael Wheat on 05/09/2005 01:38:07 PM:
Hi FoxWeb Support Team,
 
I compiled the fw_enter.prg file.  fw_enter.fxp is now in the Programs folder.  I run my code and I still get the same error as before.
 
Error trying to call preprocessor (FW_ENTER)
 
The FoxWeb Error log says this ...
 
File 'fw_enter.prg' does not exist.  
Line 145 DO FW_ENTER
 
Any chance you know what I am doing wrong?
 
Thank you,
 
Mike
Sent by FoxWeb Support on 05/09/2005 01:30:14 PM:
Since you are using the run-time DLL, you will need to compile fw_enter.prg and fw_exit.prg whenever you modify their content.  At this point the two files have never been compiled, so you are getting an error because there is no corresponding FXP file on your server.  In the future you will need to be extra careful when you modify PRG and FWX scripts, because the VFP run-time DLL will run FXP files, regardless of whether there's a newer PRG file.
 
The easiest way to compile files with FoxWeb 3 is the new fwadmin.fwx script.

FoxWeb Support Team
support@foxweb.com email

Sent by Michael Wheat on 05/09/2005 01:11:36 PM:
Hi,
 
I either fw_exit.prg or fw_enter.prg exist in the Programs folder, I get the following errors.
 
Error trying to call postprocessor (FW_EXIT)
 
Error trying to call preprocessor (FW_ENTER)
 
I am using runtime dll's and FoxWeb version 3.0
 
I am trying to set up environment by using these two files.
 
Thank you for the help.
 
Mike