>Hi All,
>
>Recently, some of my users have started getting the following error, or variation thereof, and I don't know how to trace it:
>
>Program error
>File access is denied c:\temp\_4b70nzf60.fxp.
>My app uses the local c:\temp folder for resource and tmp files.
>
>I'm assuming it's coming from the compiled program module of this particluar .prg, but I don't know which one. Can someone show me how?
Most probably you don't have a prg of that name. It looks like something that execscript() creates. OTOH, the current value of sys(2015) is about _4B913KY2A, so the fxp may not be created now, but it's rather something created some time ago and the app tries to create it again. Look for compile keyword, and for execscript()... my two best bets.
The time of the sys(2015) is about datetime(2015,3,23,11,11,30). Perhaps you use sys(2015) in your code to name a routine that's extracted from metadata, and several users manage to hit the same value? If that's the case, do what Craig said, don't set tmpfiles at all, then Fox will use the system-assigned %temp% folder, which is different for each user.