title: Debugging ASP.NET in IIS 7
body: <p>I have searched all the usual but come up empty. I must be doing something silly!</p>
  
  <p>Simply I created a new project, ASP.NET Web App, and wish to use and debug it with the local install of IIS 7.5 on my Windows 7 x64 box. </p>
  
  <p>According to what I have read it should be a simple process; my issue is that Visual Studio <strong>will not stop at breakpoints nor at errors etc</strong>.</p>
  
  <p>I just don't get it:</p>
  
  <ul>
  <li>Visual Studio is attaching to the w3p process for me automatically.</li>
  <li>If I hover over the breakpoints it shows a message saying the same, that it is in the same w3p process.</li>
  <li>I am in Administrator context. I manually ran it like so to be sure but in any case if you are an admin it runs like that anyway.</li>
  </ul>
  
  <p>Some notes:</p>
  
  <ul>
  <li>I do not wish to use IIS Express as I require native IIS 7.5 for my tasks, however it does debug in express - no surprise there.</li>
  <li>As mentioned above, all this is being done locally.</li>
  <li>The path of the virtual directory is pointed towards the project files, as set by Visual Studio 2010. It even set the <strong>Network Service</strong> as read on the folder structure.</li>
  <li>When debugging from VS the web site runs fine, just debugging is the issue.</li>
  </ul>
  
  <p>Maybe it is permissions? The Default App Pool is using the <strong>ApplicationPoolIdentity</strong> not <strong>Network Service</strong>... Should it be? I had assumed they we.re one and the same essentially. Although I changed this and no luck unless I didn't do something I should of</p>
  
  <p>Keep in mind here that my issue is semi-unique in that I am not receiving error messages, not even in the event logs... For all intents and purposes it should be working fine, just it isn't. </p>
  
  <p>VS and IIS, and all updates, are applied to date.</p>
  
  <p>Note: I'm familiar with IIS7.5, I run my own public web hosting server. I just never tried to debug</p>
  
  <p>Note: It is Visual Studio 2010 Ultimate</p>
  
  <p>Thanks for your time.</p>