title: Asp.net application error running with Sitecore 6.4.1
body: <p>I have Sitecore as site root (which is running ok) and under it I need to have a bunch of asp.net applications running. </p>
  
  <p>So far, created a virtual directory for the child application, turned it into an app. But as soon as I browse the child app it comes with this error message.</p>
  
  <pre><code>Compilation Error 
  Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
  
  Compiler Error Message: CS0246: The type or namespace name 'Sitecore' could not be found (are you missing a using directive or an assembly reference?)
  
  Source Error:
  
  
  
  Line 3264:          &lt;/providers&gt;
  Line 3265:      &lt;/roleManager&gt;
  Line 3266:      &lt;profile defaultProvider="sql" enabled="true" inherits="Sitecore.Security.UserProfile, Sitecore.Kernel"&gt;
  Line 3267:          &lt;providers&gt;
  Line 3268:              &lt;clear/&gt;
  </code></pre>
  
  <p>It seems that the child asp.net app is inheriting Sitecore settings which are coming from Sitecore web.config.</p>
  
  <p>Any ideas?</p>