title: Grant permissions IIS 7 Microsoft windows server 2008
body: <p>I have a web service which I have deployed on IIS  7. No whenever a client calls web service method, then internal server error(500) is thrown back and we get
  "The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security."
  So i spent some time figuring out the reason for this error. 
  Seems like if you do not have permission to EventLog registry entry, you wont be able to create events. 
  You can go to registry key, right click on it and then Permissions. Assign ASPNET user required accesses. 
  But i IIS 7, there is no user account as ASPNET. The application pool for my web site is under ApplicationPoolIdentity. So my question is how to grant permissions to ApplicationPoolIdentity account???
  Any help would be highly appreciated.</p>