title: IIS 7: Identity 'IIS APPPOOL\DefaultAppPool' does not have sufficient permission to access the temp directory
body: <p>I have strange and unresolvable problem with my IIS 7.0 on Windows7.<br>
  I try run site on my local test server and get following error:</p>
  
  <pre><code>Access to the temp directory is denied.  
  Identity 'IIS APPPOOL\DefaultAppPool' under  
  which XmlSerializer is running does not have sufficient permission  
  to access the temp directory.  
  
  CodeDom will use the user account the process is using to do the compilation,  
  so if the user doesn't have access to system temp directory,  
  you will not be able to compile.  
  Use Path.GetTempPath() API to find out the temp directory location.
  </code></pre>
  
  <p>I have several pools, but only one among them works correctly. It's <b>Classic .NET AppPool</b>. Running sites on other ones I get error, which was provided earlier. The most intresting is I cann't find any differents between pools' configuration through Application Pools of IIS Manager. Maybe I am missing something?<br>
  I tried to change access rights for <code>Windows\Temp</code>, <code>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files</code>, and <code>local settings' temporary folder</code>, but my actions did not have effects. </p>
  
  <p>So, hope for your help and some advices.</p>