Asp.net pageBaseType error !
<p>I write base class,MyBase.cs, for asp.net pages. I want all asp.net page inherit from that base class instead of System.Web.UI.Page. So i configure in web.config as mention below.</p>

<pre><code>&lt;pages pageBaseType="MyBase"&gt;
</code></pre>

<p>Then i got following error message.</p>

<p><strong>Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)</strong></p>

<p>Please help what shoul i do? do i need to inherits MyBase to every aspx pages.</p>

<p>My Web App running on .Net Framework 3.5SP1 &amp; VS 2008</p>

<p>Thanks</p>
