title: ASP.NET Parser Error only on local machine
body: <p>I am getting the common ASP.NET YSOD error. Here is the full error page as requested: </p>
  
  <pre><code>Server Error in '/' Application.
  --------------------------------------------------------------------------------
  
  Parser Error 
  Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
  
  Parser Error Message: Could not load type 'WebApplication1.WebForm1'.
  
  Source Error: 
  
  Line 1:  &lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %&gt;
  Line 2:  
  Line 3:  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  Source File: /WebForm1.aspx    Line: 1 
  
  --------------------------------------------------------------------------------
  Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 
  </code></pre>
  
  <p>But only on my local machine. I tried the option to Use Local IIS Web Server and this gives the same error.</p>
  
  <p>Everything I have read says 'just re-compile' I have done this but it makes no difference.</p>
  
  <p>I am using VS2010.</p>
  
  <p>Does anyone know what the cause of this is?</p>