title: Why doesn't ASP.Net recognize my user control?
body: <p>In my current project (ASP.Net 2.0) I have a lot of web user controls, among them "Office.ascx".</p>
  
  <p>Office.ascx is loaded into another controls using this line:</p>
  
  <pre><code>guide_controls_display_Office o = (guide_controls_display_Office)LoadControl("Office.ascx");
  </code></pre>
  
  <p>The control I am loading it into has Office.ascx registered using this line:</p>
  
  <pre><code>&lt;%@ Register TagName="office" TagPrefix="uc" Src="Office.ascx" %&gt;
  </code></pre>
  
  <p>But I get this error upon launching the web page:</p>
  
  <pre><code>Unable to cast object of type 'ASP.guide_controls_display_office_ascx' to type 'guide_controls_display_Office'.
  </code></pre>
  
  <p>Why do I get this message? I can see that the first type has "ASP." in front of it. Is that normal?</p>