Date:  05/09/2006 03:53:45 PM Msg ID:  002943
From:  FoxWeb Support Thread:  002939
Subject:  Re: Version 2.6 and Win 2003 server
Hi Stephen,
 
This is a really strange problem.  FoxWeb script rights are determined, based on the user that FoxWeb is running under.  If FoxWeb is running as a service, then FoxWeb has the rights of the service login user, which can be set in the properties of the FoxWeb service (Control Panel/Administrative Tools/Services).  If FoxWeb is running as a desktop application instead, then it will operate with the rights of the user that is logged into windows at that time.
 
Obviously, you must make sure FoxWeb is running as a user with sufficient rights, but what's confusing is the error message you are getting.  If this was a user rights issue, then you would be getting a VFP error indicating so.  The error you are getting instead is different.  My guess is that the problem is related to your IIS configuration.  You must make sure that all directories (virtual or otherwise) that contain FoxWeb scripts are configured to allow execution of Scripts, as described in the Configuring your Web Server topic in the FoxWeb documentation.  Alternatively, you can enable Script execution in the root of your site.
 

FoxWeb Support Team
support@foxweb.com email

Sent by Stephen Ames on 05/06/2006 09:03:21 PM:
 
Having problems moving from my 2000 server to 2003.
Fields / folders are identical etc but I get an error when I run a
script that wants to write to a file. My report scripts
seem to run okay - but they are only reading data.
 
This is the error I get.
"You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. "
 
I go to the folder that the script is trying to write files and it shows
as read only - BUT no matter what I do it does not stay clear for
the script to do it's stuff.
 
Any ideas.