Getting an error about a label name or textbox id not being in context
<p>I am getting a number of errors such as</p>

<blockquote>
  <p>The name 'lblThankYou' does not exist in the current context   </p>
</blockquote>

<p>However the asp.net code has the 'lblThankYou' as a label name </p>

<pre><code>&lt;asp:Label ID="lblThankYou" runat="server" Visible="False" Font-Bold  Font-Size ="Medium" &gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;Thank you for submitting your request.  We will respond the following business day.  
                        For immediate assistance, please call us at 1-800-xxx-xxxx.&lt;/tr&gt;&lt;/table&gt;&lt;/asp:Label&gt;
</code></pre>

<p>However when I try to preview the file in the browser I get this </p>

<blockquote>
  <p>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.</p>
  
  <p>Parser Error Message: Could not load
  type
  'xxxxxxxxxxxxSolution2010.Signup3'.</p>
  
  <p>Source Error:</p>
  
  <p>Line 1:  &lt;%@ Page Title=""
  Language="C#"
  MasterPageFile="~/MasterPageLicensing.master"
  AutoEventWireup="true"
  CodeBehind="Signup3.aspx.cs"
  Inherits="xxxxxxxxxxxSolution2010.Signup3"
  %> Line 2:   Line 3:      </p>
  
  <p>Source File: /Signup3.aspx    Line: 1</p>
</blockquote>

<p>The odd thing is the code is there in the page and I tried rebuilding it to fix it but to no avail</p>

<p>I am using ASP.net 4.0 and visual studio 2010 if that helps</p>
