I'm trying to set the identity of an application pool to a specific user and have had nothing but problems. I found an article mentioning 3 user policy settings to give to the account I want to use, http://beyondthispoint.blogspot.com/2006/04/setting-up-iis6-application-pool.html; I know the article is for IIS6 but I haven't found much info on IIS7. Anyway, I tried those settings and rebooted and had an error in my event log that reads
The World Wide Web Publishing Service (WWW Service) encountered an error when it tried to secure the handle of application pool ASP.NET V2.0 from HTTP.sys. Edit the identification information for the application pool so that the WWW Service can secure the handle of the application pool again. The data field contains the error number.
So now I'm desperate and don't know what to do. Exactly what steps do you need to take for a domain account to be the identity for an application pool?