[Mono-dev] Strange problem with UserControls not being found

Christian Prochnow cproch at seculogix.de
Tue Dec 9 05:04:36 EST 2008


Hi,

i've a strange problem where the type of a control in an registered assembly
is not being found.
Weird is that some controls defined in the assembly are found, and some not.

Parser Error

Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.

Parser Error Message: Type not found.
Source Error:
Line 45:                     <ho24:AuthorizedPanel runat="server"
CssClass="box">

Web.config contains:

<pages>
    <controls>
        <add tagPrefix="ho24" namespace="Interaid.HeizOel24.Web"
assembly="Interaid.HeizOel24.Web"/>
    </controls>
</pages>

The assembly contains following classes:
    public class AuthorizedPanel : Panel
    public class Form : HtmlForm

The tag "ho24:Form" is correctly processed, but "ho24:AuthorizedPanel" gives
the error above.
Using M$ ASP.NET given no compilation error.


Does anyone have an idea ?


Thanks in advance,

Christian Prochnow

-- 
View this message in context: http://www.nabble.com/Strange-problem-with-UserControls-not-being-found-tp20911797p20911797.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list