HTTP 401.3 - Access denied by ACL on resource
-
Friday, October 13, 2006 8:58 PM
Hi!
I read this ....
http://www.codeproject.com/csharp/cgi_csharp.asp
...... article and tested it on my pc (WinXP). Got this error:
HTTP 401.3 - Access denied by ACL on resource
I installed IIS especially for this, so it's probably on default configs (except that I chose the latest version of ASP.NET from the web site properties).
What can I do in order to allow myself and other users to execute my CGI ?
Answers
-
Saturday, November 17, 2007 1:39 AM
I just ran into this, and it's a nightmare problem.
First you have to enable anonymous access to your pages: Start > Programs > Administrative Tools > Internet Information Services > local computer > web sites > Default Web Site > Properties > Directory Security > Anonymous Access > Edit > and check Anonymous access.
Next you have to give access to the IIS guest account, IUSR_machineName. Right-click C:\Inetpub\wwwroot and choose Properties > Security > Add, add the IIS IUSR guest account, click OK, then Advanced, check “Replace permission entries on all child objects...”, then OK.
All Replies
-
Monday, October 16, 2006 4:41 AMIn your web site.... are you sure you've set up "execute permissions" in "scripts and executables" as the article says?
Rgds
Rodrigo -
Saturday, November 17, 2007 1:39 AM
I just ran into this, and it's a nightmare problem.
First you have to enable anonymous access to your pages: Start > Programs > Administrative Tools > Internet Information Services > local computer > web sites > Default Web Site > Properties > Directory Security > Anonymous Access > Edit > and check Anonymous access.
Next you have to give access to the IIS guest account, IUSR_machineName. Right-click C:\Inetpub\wwwroot and choose Properties > Security > Add, add the IIS IUSR guest account, click OK, then Advanced, check “Replace permission entries on all child objects...”, then OK.

