title: Why an ASP.NET MVC Configuration Error With Sub Folder as Web Application that cannot load Site Master Type
body: <p>Inside of my MVC application, I have a sub-folder named "Admin" that was "Converted to Web Application".  In IIS, the Admin folder has also been setup as a web-application.  </p>
  
  <p>After publishing my full application, I get a Configuration Error when trying to open Default.aspx within the Admin folder.</p>
  
  <h1>EDIT</h1>  
  
  <p>I made the suggested change and added:</p>
  
  <pre><code>&lt;location path="." inheritInChildApplications="false"&gt;
    &lt;system.web&gt;...&lt;/system.web&gt;
  &lt;/location&gt;
  </code></pre>
  
  <p>I am now getting a new error:</p>
  
  <blockquote>
    <p><b>Parser Error:</b>
    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><b>Parser Error Message:</b> Could not load type 'UI.Administration.Site'.</p>
    
    <p><b>Source Error:</b></p>
    
    <p>Line 1:  &lt;%@ Master Language="C#" CodeBehind="Site.master.cs" Inherits="UI.Administration.Site" %></p>
  </blockquote>