title: Could not load type '<type name>' - Asp.Net
body: <p>I have an WebApp that i'm developing I've finished it and it works locally however when I upload it I get</p>
  
  <p>Could not load type 'MyApp.GenerateData'</p>
  
  <p>my asp page contains this</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GenerateData.aspx.cs" Inherits="MyApp.GenerateData" %&gt;
  </code></pre>
  
  <p>My GenerateData.aspx.cs code :</p>
  
  <pre><code>namespace MyApp
  {
      public partial class GenerateData : PageEstateAdministrator
      {
          protected void Page_Load(object sender, EventArgs e)
          {
               // DO WORK
          }
      }
  }
  </code></pre>
  
  <p>what am I doing wrong?</p>