If a website is working i.e. displaying HTML pages but not running a CGI
Application i.e. app.exe with an error “403 : Access Denied – You are
not authorised to view this page” it’s most likely a CGI Access Forbidden
message from IIS.
Check the IIS Logs for an error like this:
2008-08-22 09:49:45 10.1.1.10 GET /appdir/app.exe
403 19 1314To get this working….
Create a new user called APP_USER (make a note of the password) set it so
that it won’t expire and the user cannot change the password.
Remove the user from the Users group and add to the IIS_WPG group (This
contains the default permissions needed to be a worker process.;
Create a new application pool called APP_POOL with default settings. In the
identity tab of the application pool change the user to APP_USER and
enter the password..
In the IIS Web properties for the applications directory under virtual directory
tab change the application pool to APP_POOL and apply. Then under the
Directory Security tab edit the Authentication and access control change
the username to APP_USER and enter the password.
In the IIS Web properties for the Application directory click the Directory
Security tab and edit the Authentication and access control change the
username to dserve and enter the password.
In the standard NTFS File permissions add the user to the directory in the Inetpub with Read & Execute and also to the Application Directory also with Read & Execute permissions.
Go to the local security policy. Under User rights add the APP_USER user to
both “Replace a process-level token” and Adjust memory Quotas for a
The website should now be running.