I have tried to see if this problem has been raised in the forum, and check the documentation, but could not find the answer to my problem.
I am running the Foxweb 3.5.1 as a service on IIS6. It works fine apart from the following problem :
In fw_enter.prg I issue :
SET PROCEDURE TO [some path]\main.prg
main.prg is a big file containing all my procedures and functions. These procedures/functions are called from various foxweb scripts on my site.
This works perfectly fine in a single user environment, but causes errors in a multi-user environment.
The problem is that main.prg is recompiled each time fw_enter.prg is run. The error appears whenever several people call a script at the same time, and hence fw_enter.prg is run at the same time, and therefore main.prg is recompiled at the same time, and ultimately Foxweb tries to create main.fxp at the same time for several different people.
The error is :
Error #: 102
Message : Cannot create file [some path]\main.fxp
Program : [some path]\fw_enter.fxp
Line #: 19
Line : SET PROCEDURE TO "[some path]\main.prg"
The solution is simple - switch off automatic compilation. The problem is that I cannot find any way to do so in Foxweb 3.5.1. Help!