<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from ASP.NET 1.x to ASP.NET 2.0</title><link>http://forums.asp.net/180.aspx</link><description>Discuss issues about compatibility with and migration from previous versions of ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3466499.aspx</link><pubDate>Tue, 20 Oct 2009 06:00:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3466499</guid><dc:creator>vijay_010237866</dc:creator><author>vijay_010237866</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3466499.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3466499</wfw:commentRss><description>&lt;p&gt;In the reference the path of the control given must be&amp;nbsp;~/Common/User.ascx.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3466476.aspx</link><pubDate>Tue, 20 Oct 2009 05:44:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3466476</guid><dc:creator>praddy</dc:creator><author>praddy</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3466476.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3466476</wfw:commentRss><description>&lt;p&gt;thanks for the suggestion but &amp;nbsp;this solution is not applicable in vs 2008.. the usercontrol comes with the codefile tag and not the codebehind tag by default.. if u mention the codebehind it throws a compilation error.. is there any other solution?&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3466094.aspx</link><pubDate>Mon, 19 Oct 2009 23:07:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3466094</guid><dc:creator>sean717</dc:creator><author>sean717</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3466094.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3466094</wfw:commentRss><description>&lt;p&gt;Hi, have you tried the possible solution suggested by Maduka?&lt;/p&gt;&lt;p&gt;Here it is:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;try to create a new usercontrol in vs.net 2005. It will create as
CodeBehind not as CodeFile. I guess&amp;nbsp;CodeBehind is the&amp;nbsp;suitable property
in the vs.net 2005.&lt;/p&gt;
&lt;p&gt;CodeFile willl work with converted .net projects(vs.net 2003 to
vs.net 2005). But when you try to add new web form to converted project
and&amp;nbsp;try to use an user control of vs.net 2003 version, this error
occurs.&lt;/p&gt;
&lt;p&gt;Rgds&lt;/p&gt;
&lt;p&gt;Maduka&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3465272.aspx</link><pubDate>Mon, 19 Oct 2009 14:15:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3465272</guid><dc:creator>praddy</dc:creator><author>praddy</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3465272.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3465272</wfw:commentRss><description>&lt;p&gt;hey i have encountered a similar problem but in .net 3.5. i have tried all the solutions mentioned here for .net 2.0 i.e. vs2005.. my app was developed in vs2003 v1.1 and then converted to vs2008 v3.5. earlier this problem was not there and the website was running w/o any&amp;nbsp;glitch&amp;nbsp;but this problem&amp;nbsp;occurred suddenly a few weeks back.. i&amp;#39;ve been trying to solve it but in vain. can anyone please suggest what i should do?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3458729.aspx</link><pubDate>Wed, 14 Oct 2009 21:13:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3458729</guid><dc:creator>sean717</dc:creator><author>sean717</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3458729.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3458729</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;Maduka:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Maduka&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I had the same problem,&lt;font color="#000000" size="2"&gt; after I made change according to what Maduka suggested, eveything works fine now.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#000000" size="2"&gt;Thanks!&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3449076.aspx</link><pubDate>Fri, 09 Oct 2009 04:17:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3449076</guid><dc:creator>mickeyding</dc:creator><author>mickeyding</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3449076.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3449076</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We had a similar issue. Our user controls lived in a directory called &amp;quot;Controls&amp;quot; &lt;/p&gt;
&lt;p&gt;In an effort to group related controls some of the user controls were put in subdirectories under the controls directory. We noticed the problem surfaced when a user control in a subdirectory was referring to another &amp;nbsp;usercontrol in the parent directory (eg A SearchList control in the \Controls\SearchItems directory&amp;nbsp;used a ModalDialogue control in the \Controls Directory. &lt;/p&gt;
&lt;p&gt;A clone of the ModalDialogue&amp;nbsp;Control was created in the \Controls\SearchItems subdirectory. The new control was given a different name (ModalDialogTest) to be sure to isolate which control was being used. This worked fine. We then hit on the idea of parking the modal dialogue control in its own subdirectory. (out from the parent &amp;quot;\Controls&amp;quot; directory)&lt;/p&gt;
&lt;p&gt;A Subdirectory was created &amp;quot;\Controls\Modal&amp;quot;. Our ModalDialogue control was created in this subdirectory and it cured the problem.&amp;nbsp; I hope this helps someone out. &lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3400521.aspx</link><pubDate>Fri, 11 Sep 2009 19:10:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3400521</guid><dc:creator>Ajitchahal</dc:creator><author>Ajitchahal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3400521.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3400521</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;This problem normally occurs if you keep user controls in diffrent directories or name spaces, moving them to same namespace and physical directry solved this problem for me.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Ajit&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3270646.aspx</link><pubDate>Thu, 02 Jul 2009 07:38:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3270646</guid><dc:creator>pilot1</dc:creator><author>pilot1</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3270646.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3270646</wfw:commentRss><description>&lt;p&gt;See http://support.microsoft.com/kb/919284.&lt;/p&gt;&lt;p&gt;It also could happen because Inherits=&amp;quot;xxx&amp;quot; attribute has value of unexisting class.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3213960.aspx</link><pubDate>Fri, 05 Jun 2009 19:57:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3213960</guid><dc:creator>dvisaria</dc:creator><author>dvisaria</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3213960.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3213960</wfw:commentRss><description>&lt;p&gt;It does solve my problem. I wasted 4 hr try to solve problem by deleting temporaroy files. But this does the trick.&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/3163693.aspx</link><pubDate>Thu, 14 May 2009 22:08:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3163693</guid><dc:creator>ozkary</dc:creator><author>ozkary</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3163693.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=3163693</wfw:commentRss><description>&lt;p&gt;Hello,&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp; This run-time error also shows when the mark-up has some invalid format. For example, if the control has this control directive:&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;% &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Control&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Language&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;C#&amp;quot; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;when it should be &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;@&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Control&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Language&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;C#&amp;quot;&amp;nbsp;&amp;nbsp; (NOTE THE&amp;nbsp;@)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Something small that can get overlooked.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;I hope it helps&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/2950583.aspx</link><pubDate>Wed, 18 Feb 2009 22:39:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2950583</guid><dc:creator>rajquest</dc:creator><author>rajquest</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2950583.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=2950583</wfw:commentRss><description>&lt;p&gt;This solution worked for me right away.&lt;br /&gt;Removed the ID tag. Is there a reason why the ID tag would cause this error ?&lt;br /&gt;&lt;br /&gt;****** Worked for me *****************&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/2470580.aspx</link><pubDate>Mon, 07 Jul 2008 05:45:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2470580</guid><dc:creator>pradman2005</dc:creator><author>pradman2005</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2470580.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=2470580</wfw:commentRss><description>&lt;p&gt;Hi Net,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Even I experienced the same problem...&lt;/p&gt;
&lt;p&gt;but I have not made any changes to the structure of the website, the usercontrol in question was working perfectly from a long time. It was just on saturday that I got this problem. I tried the solution that you have given here ie. transferring the usercontrol to the same folder as the page. But it will require changing the register tag in all the pages that include the said control. Moreover, did u find the reason why this problem occurred in the first place?&lt;/p&gt;
&lt;p&gt;Awaiting your reply.&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/2459998.aspx</link><pubDate>Tue, 01 Jul 2008 17:22:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2459998</guid><dc:creator>dmcmulle</dc:creator><author>dmcmulle</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2459998.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=2459998</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&amp;quot;Use fixed naming and single page assemblies&amp;quot; did the trick.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/2015561.aspx</link><pubDate>Tue, 20 Nov 2007 03:52:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2015561</guid><dc:creator>Badajoz</dc:creator><author>Badajoz</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2015561.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=2015561</wfw:commentRss><description>&lt;p&gt;I just had this issue and turning off the &amp;quot;Allow this precompiled state to be updatable&amp;quot; was not an option. If I do then Reporting Services reports on my website do not work.&lt;/p&gt;
&lt;p&gt;Rather, the work around that I used was to check &amp;quot;Use fixed naming and single page assemblies&amp;quot;. This corrected the issue. One presumes that that this does not have any detrimental impact - it&amp;#39;s just a different way of&amp;nbsp;the compiler&amp;nbsp;organising its dlls...?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hopefully this gets fixed and new bug replaces it in 2008 &lt;img src="http://forums.asp.net/emoticons/emotion-14.gif" alt="Devil" /&gt;&lt;/p&gt;</description></item><item><title>Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"</title><link>http://forums.asp.net/thread/1892697.aspx</link><pubDate>Wed, 05 Sep 2007 01:24:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1892697</guid><dc:creator>mike8431</dc:creator><author>mike8431</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1892697.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=180&amp;PostID=1892697</wfw:commentRss><description>&lt;p&gt;as someone previous mentioned, what seems to fix the problem is to turn off update when you publish.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;go to&amp;nbsp;the menu item Build -&amp;gt; Publish Web Site&lt;/p&gt;
&lt;p&gt;2) turn off&amp;nbsp; the option &amp;quot;Allow this precompiled state to be updatable&amp;quot;&amp;nbsp; (This is on by default)&lt;/p&gt;
&lt;p&gt;3) Make sure you deleted your old precompiled website&lt;/p&gt;
&lt;p&gt;4) hit okay in the dialog.&lt;/p&gt;
&lt;p&gt;Hopefully this gets fixed in 2008.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>