title: Could not find schema information for the element 'castle'
body: <p>I'm creating a Custom tag in my web.config. I first wrote the following entry under the <strong>configSections</strong> section. </p>
  
  <pre><code>&lt;section name="castle"
             type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler,
           Castle.Windsor" /&gt;
  </code></pre>
  
  <p>But, when I try to create a <strong>castle</strong> node inside the <strong>configuration</strong> node as below</p>
  
  <pre><code>&lt;castle&gt;
      &lt;components&gt;
      &lt;/components&gt;
  &lt;/castle&gt; 
  </code></pre>
  
  <p>I get the following error message:"<strong>*Could not find schema information for the element '**castle</strong>'<strong>*." "***Could not find schema information for the element '**components</strong>'***."</p>
  
  <p>Am I missing something? I can't find why. And, if I run the application anyway, I get the following error "<strong><em>Could not find section 'Castle' in the configuration file associated with this domain.</em></strong>" </p>
  
  <p>Ps.// The sample comes from "Pro ASP.NET MVC Framework"/Steven Sanderson/APress ISBN-13 (pbk): 978-1-4302-1007-8" on page 99.</p>
  
  <p>Thank you for the help</p>
  
  <p>============================================================</p>
  
  <p>Since I believe to have done exactly what's said in the book and did not succed, I ask the same question in different terms. <strong><em>How do I add a new node using the above information?</em></strong> </p>
  
  <p>=============================================================================</p>
  
  <p>Thank you. I did what you said and do not have the two warnings. However, I've go a big new warning:</p>
  
  <p>"The element '<strong>configuration</strong>' in namespace '<strong>MyWindsorSchema</strong>' has invalid child element '<strong>configSections</strong>' in namespace '<strong>MyWindsorSchema</strong>'. List of possible elements expected: '<em>include, properties, facilities, components' in namespace 'MyWindsorSchema</em>'."</p>