Ok IIS6 works differently. In AD create a new user called HAP. Give this user the same permissions as the network service in c:\inetpub\wwwroot\hap.
1. Set the AppPool to run as this user
2. Set the Anonymous User to run as this user
Printable View
Ok IIS6 works differently. In AD create a new user called HAP. Give this user the same permissions as the network service in c:\inetpub\wwwroot\hap.
1. Set the AppPool to run as this user
2. Set the Anonymous User to run as this user
So are you saying for that folder add the HAP user then give it Read & Execute?Quote:
Ok IIS6 works differently. In AD create a new user called HAP. Give this user the same permissions as the network service in c:\inetpub\wwwroot\hap.
When doing that I just get Error: Access is Denied.
Right, I fixed that. Seems the password wasn't correct for either App Pool or Anonymous User.
I've still got write error though on setup. I even tried adding 'Everyone' with Write permission.
Inset this into the 2nd line of setup.aspx page: after the <%@ line(s)
Then load setup.aspx, and view the source of the page, you should see <!-- Thread: .... -->, copy this code and paste it hereCode:<!--Thread: <%=System.Threading.Thread.CurrentPrincipal.Identity.Name%>
Windows: <%=System.Security.Principal.WindowsIdentity.GetCurrent().Name%>
HttpContext: <%=HttpContext.Current.User.Identity.Name%>
-->
<!--Thread:
Windows: NT AUTHORITY\NETWORK SERVICE
HttpContext:
-->
ok that's correct, odd that it isn't working. Did you change the Application Pool identity to that new HAP user you created?
I did, yes.
The HAP user has 'Write' non-inherited and Read and Execute inherited.
If I give HAP full control I still get a cross on write permission.
Any ideas Nick?
Apart from setting the everyone permission on that folder, none. HAP+ Works best on IIS7
Fixed it now. :-)
Make App_Data modify too.