title: ASP.NET / Active Directory - Supporting auto login for domain users
body: <p>I am developing a simple ASP.NET website that will run on the intranet on a WS2008(IIS7) box and respond to users running XP/IE8. Everything is domain connected and I am trying to automatically login the users much like SharePoint does.</p>
  
  <p>On my dev machine (XP), when running the site through VS, everything works. I can pickup on the user perfectly. I am using the following settings:</p>
  
  <pre><code>&lt;authentication mode="Windows"/&gt;
  &lt;identity impersonate="true"/&gt;
  &lt;anonymousIdentification enabled="false"/&gt;
  
  &lt;authorization&gt;
      &lt;allow users="*"/&gt;
      &lt;deny users="?"/&gt;
  &lt;/authorization&gt;
  </code></pre>
  
  <p>However, when I publish to the WS2008 box, it doesn't work. Clearly I am missing a setting in IIS7 to support this.</p>
  
  <p>I have the following set for Authentication on the site:</p>
  
  <pre><code>Anon Auth - Enabled
  ASP.NET Impersonation - Enabled
  Basic Auth - Disabled
  Forms Auth - Disabled
  Windows Auth - Disabled
  </code></pre>
  
  <p>What am I missing?
  Thanks</p>