title: What does ApplicationPoolIdentity map to?
body: <p>When I use ApplicationPoolIdentity on a web site deployed on one box (Win Server 2008 R2) and try to access SQL Server I get:</p>
  
  <blockquote>
    <p>Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.</p>
  </blockquote>
  
  <p>but the same configuration on the different box (Win7) gives me:</p>
  
  <blockquote>
    <p>Login failed for user 'DOMAIN\MACHINE$'.</p>
  </blockquote>
  
  <p>Both <code>applicationHost.config</code> files have:  </p>
  
  <pre><code>&lt;anonymousAuthentication enabled="true" userName="IUSR" /&gt;
  </code></pre>
  
  <p><strong>Question</strong>: where is the difference in configuration? more specifically, what do I need to tweak to have process (web site) authenticate with 'DOMAIN\MACHINE$'?</p>
  
  <p>Context: IIS7 (Windows 7 and Windows Server 2008 R2)</p>