IIS, HTTP 401.3 and ASP.NET directories ACLs

A few days ago, on a newly installed web server with all the appropriate security patches applied, I kept having the same error on every ASP.NET 1.1 application I was running :

HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.

At first, the reflex is to check all the permissions of the mapped physical directory, that they match the Application Pool identity, the guest identity (IUSR_Machine on my server) and for some configurations, the impersonated identity any ASP.NET configuration. Even with all these checks, any ASP.NET application was returning the same 401.3 error for anonymous users...

Well, it turns out that the ACL of the %SystemRoot%\Microsoft.NET\Framework\v1.1.4322 is important too... I don't know how the ACL got changed in the first place, and I don't know either how I came to check on these ACL, but that can waste a lot of time...

Publié jeudi 1 septembre 2005 21:09 par jay
Ce post vous a plu ? Ajoutez le dans vos favoris pour ne pas perdre de temps à le retrouver le jour où vous en aurez besoin :

Commentaires


Les 10 derniers blogs postés

- Astuce Windows : déplacer les fenêtres perdues d'un écran inexistant vers mon écran principal par Atteint de JavaScriptite Aiguë [Cyril Durand] le il y a 1 heure et 49 minutes

- Team System Database Edition : Version finale disponible de cette nouvelle mise à jour de la version 2008 par SQL Server vu par Christian Robert le il y a 3 heures et 52 minutes

- [Linq To WIQL] Les dessous du provider (Part 1: introduction) par Michel Perfetti [Miiitch] le il y a 14 heures et 16 minutes

- SharePoint 2007 : Activation de Features et ActivationDependencies par Philippe Sentenac [MVP SharePoint] le il y a 15 heures et 17 minutes

- Document W3C sur l'Accessibilité de Silverlight 2.0 par Julien Chable le il y a 15 heures et 32 minutes

- Visual Studio Talk Show par Matthieu MEZIL le 12-01-2008, 01:38

- Quakelight, un portage de Quake en Silverlight ! par Pointeurs Microsoft de Yannick Lejeune le 11-30-2008, 23:23

- ADOBE MAX 2008 - Enregistrement à Milan par The diary of EBArtSoft le 11-30-2008, 20:25

- Add-In Reflector : Reflector.Snippy, le Snippy de Jon Skeet sous forme d’un Add-In par CoqBlog le 11-30-2008, 12:40

- SQL Server : extraction d’informations sur la fragmentation des valeurs d’une colonne à valeurs séquentielles par CoqBlog le 11-29-2008, 19:33