title: Access Denied Error When using Windows Authentication Mode for WebServices
body: <p>I have Windows application which calls one of my WebService. I am using <strong>Windows Authentication Mode</strong> for my WebService. 
  a)When I try to access the Web Service it throws an error:</p>
  
  <pre><code>System.Net.WebException: The request failed with HTTP status 401: Access Denied.
  </code></pre>
  
  <p>I have set 
      
          </p>
  
  <p>And also I have switched off <strong>Anonymous Mode</strong> for the WS. only <strong>Integrated Windows Authentication</strong> is checked. </p>
  
  <p>b)When I switch off impersonate then I get the following error:</p>
  
  <pre><code>Login failed for user  "My Sys No\ASPNET". 
  </code></pre>
  
  <p>I think my Login id credentials is not passed , not sure why is it so as still <strong>Windows Authentication Mode</strong> is On.</p>
  
  <p>can somebody throw light on this?</p>