after installing all prerequisite dependencies and setting up a xenapp 6.5 web interface 5.4 on iis 7.5, i was getting the error “401.3 – unauthorized: access is denied due to an acl set on the requested resource” whenever i tried to access the web interface front end using the default iusr account for anonymous authentication. i tried every combination of troubleshooting i could think of: looked through iis logs, changed the anonymous authentication credentials to use the application pool identity instead of iusr, changed the application pool’s identity to run as networkservice instead of applicationpoolidentity, added ntfs acl read permissions for iusr and iis_iusrs on the entire citrix web directory, uninstalled the web interface, reinstalled the web interface, but the end result was still a 401.3 access denied error.
after much frustration and countless googling 401.3 errors, i decided to take a step back and perform my usual lower level troubleshooting procedures. i created a test.html and test.aspx file, then tried to hit one at a time. bingo. i could access the test.html file but not test.aspx. the problem was now narrowed down to be permissions related with aspx files only.
i traced the w3wp.exe process using procmon and found that it was accessing aspnet_isapi.dll in the .net 2.0 x86 framework folder (c:\windows\microsoft.net\framework\v2.0.50727) but it was successful.
“the asp.dll isapi extension executes the requested asp page and returns its generated html markup. if your web site serves up asp.net web pages, iis has mapped the .aspx to aspnet_isapi.dll, an isapi extension that starts off the process of generating the rendered html for the requested asp.net web page. the aspnet_isapi.dll isapi extension is a piece of unmanaged code. that is, it is not code that runs in the .net framework. when iis routes the request to the aspnet_isapi.dll isapi extension, the isapi extension routes the request onto the asp.net engine(aspnet_wp.exe), which is written in managed code – managed code is code that runs in the .net framework.”
even though it was successful, this was my only lead and then decided it wouldn’t hurt to try adding ntfs permissions to it’s acl. after adding the iusr account to the acl of this file, the citrix web interface aspx pages loaded and there was no more 401 error. boom ^_^
when you're a little too careless about virtualizing your domain controllers, cloning, migrating, backing up and restoring, returning from vacation… Read More
systemd is new service manager for linux. it's a replacement for all previous init systems (sysv/sysvinit & ubuntu's upstart) and… Read More