finding the user - without knowing the innards of IIS

Posted by LosManos on Server Fault See other posts from Server Fault or by LosManos
Published on 2012-12-11T22:10:56Z Indexed on 2012/12/17 11:04 UTC
Read the original article Hit count: 457

Place of crime is WinSrv2008 with IIS7.
My IIS apppool user is trying to create a folder but fails. How do I find out which User it is?

Let's say I don't know much about IIS7 and Aspnet but need to trace whatever is happening through tools.

So I fire up Sysinternals/ProcessMonitor to find out what is happening.
I find Access denied on a folder just as I suspected. But which user? I add the User column to the output or ProcessMonitor and it says IIS Apppool\Defaultapppool in capitals. Well... that isn't a user is it? If I go to IIS and its Apppools and Advanced settings and Process model and Identity I can see clues about which user it is but that is only because I know IIS. What if it had been Apache or LightHttpd or whatever? How do I see the user to give the appropriate rights to?

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about iis7