title: IIS 6.0 and ASP.NET - Could not write to output file ... The directory name is invalid
body: <p>I'm running IIS 6.0 on Windows 2003 and started getting this error:</p>
  
  <p><code>Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\7382c13f\ea9b3ff7\App_global.asax.zodyof_q.dll' -- 'The directory name is invalid. '</code></p>
  
  <p>I've checked all the permissions, and everything is as it needs to be - plus, the error message doesn't mention permissions. I've tried the following already:</p>
  
  <ul>
  <li>Following the instructions from this [outdated] KB article: <a href="http://support.microsoft.com/kb/825791/en-us" rel="noreferrer">http://support.microsoft.com/kb/825791/en-us</a></li>
  <li>Repairing the .NET Framework v3.5 installation, then rebooting</li>
  <li>Deleting the contents of <code>c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root</code>, then running <code>iisreset</code></li>
  <li>Resetting the permissions on <code>c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root</code>, then running <code>iisreset</code></li>
  <li>Resetting the permissions on <code>c:\WINDOWS\TEMP</code>, then running <code>iisreset</code>.</li>
  </ul>
  
  <p>Any suggestions?</p>
  
  <hr>
  
  <p><strong>Other notes/responses:</strong></p>
  
  <ul>
  <li>The Indexing service is disabled.</li>
  </ul>