title: Creating a web form using master page
body: <p>I have been doing this for hours and it keep coming out the same error. I don't know why ! I managed to create the first webform for masterpage. Somehow , subsequence webforms are getting the same error. </p>
  
  <p>This is the webform i had created:</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/EIDShopMain.Master" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="mainWebsite_EID_Shop_.WebForm3" %&gt;
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>When i want to view it in browser:</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 'mainWebsite_EID_Shop_.Global'.
  Source Error: 
  Line 1:  &lt;%@ Application Codebehind="Global.asax.cs" Inherits="mainWebsite_EID_Shop_.Global" Language="C#" %&gt;
  </code></pre>
  
  <p><strong>Update:</strong> This is a ASP.Net Web Application Project.</p>
  
  <p>Code-behind of WebForm3:</p>
  
  <pre><code>namespace mainWebsite_EID_Shop_
  {
      public partial class WebForm3 : Page
      {
      }
  }
  </code></pre>
  
  <p>Can anyone explain why sometime the web form works and sometime it doesn't works.</p>
  
  <p><strong>Update2:</strong> More errors:</p>
  
  <pre><code>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 'mainWebsite_EID_Shop_.EIDShopMain'.
  Source Error:
  Line 1: &lt;%@ Master Language="C#" AutoEventWireup="true" CodeBehind="EIDShopMain.master.cs" Inherits="mainWebsite_EID_Shop_.EIDShopMain" %&gt;
  Line 2:
  Line 3: &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;;
  </code></pre>