title: ASP.NET Windows Authentication Not Working/Not Accepting Credentials
body: <p>I've been trying to resolve this question for a couple weeks now via <code>Google</code> and reading SO, and not had much luck, so I thought I'd finally try asking myself.</p>
  
  <p>I'm setting up a very, very simple <code>ASP.NET</code> site on our intranet to generate some information for internal users. I'm using Windows authentication, rather than anonymous access, because based on what user hits the site I will be generating different information.</p>
  
  <p>Long story short, this works perfectly in testing on my local <code>Windows 7</code> machine where I developed the application. However, from the <code>Windows 2008 R2 server</code> where I want it to reside, when I hit the site I get a pop-up asking for my credentials, and even if I enter them it asks me for them again and again. This happens regardless if I'm hitting the site remotely or locally. If I try using anonymous access I can reach the site both ways but as I cannot identify the user I cannot generate the information I would like to provide.</p>
  
  <p>Notes:<br /></p>
  
  <ol>
  <li><p>In IIS, I have Windows Authentication and ASP.NET Impersonation
  enabled for the site. Everything else is disabled.</p></li>
  <li><p>For the sake of figuring it out, I currently have the web.config set to allow all users and am not denying any. </p></li>
  <li>The host/URL I'm using for it is toolName.organization.local <br /></li>
  <li>I was concerned that it was an issue of the 2008 R2 server admin user residing in a different domain then my remote user that I was testing with but again it does not work locally either. <br /></li>
  <li><p>In the AppHost file, I currently have windowsAuthentication enabled.</p>
  
  <pre><code>            &lt;windowsAuthentication enabled="true"&gt;
              &lt;providers&gt;
                  &lt;add value="Negotiate" /&gt;
                  &lt;add value="NTLM" /&gt;
              &lt;/providers&gt;
              &lt;/windowsAuthentication&gt;
  </code></pre></li>
  </ol>
  
  <p>Admittedly, I typically use forms authentication on this server for all of our other internal sites so I'm a bit new to windows authentication and this issue. At this point I'm just not sure what to try or check next, so any advice would be helpful. Thanks.</p>