ASP.NET ignores /configuration/system.web/authorization settings

A while ago, my ASP.NET 2.0 application seemed to ignore /configuration/system.web/authorization setting and authorised everyone to have access, while it should not. Application was deployed on IIS 6.0 (Windows 2003 Standard SP), with customised application pool with domain user as app pool identity. Impersonalization was off. What was strange during …

Login failed for user ‘(null)’. Reason: Not associated with a trusted SQL Server connection.

Another of „It should just work” problems… resulting in: Login failed for user ‚(null)’. Reason: Not associated with a trusted SQL Server connection. Number: 18452 Procedure: State: 1 Severity: 14 LineNumber:0 System.Data.SqlClient.SqlException : Login failed for user ‚(null)’. Reason: Not associated with a trusted SQL Server connection. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, …

Local profiles only GPO

If you want to stop roaming profiles from downloading to a specific machines, eg. servers. Define a GPO for them with: ConfigurationAdministrative TemplatesSystemUser profilesOnly allow local user profiles enabled. I always have a hard time finding this particular setting among other… Now I know where to look 😉