[Mono-list] Problem with ASP.Net

Julien Sobrier julien at sobrier.net
Tue Aug 21 22:42:54 EDT 2007


Hello,
I wrote a simple AJAX application that I tested on Widnows/IIS. I'm now
trying to port it to xsp2 (mono 1.2.4 on FC7).

I get an error with this block of code:

<cc1:Accordion ID="Accordion1" runat="server" DataSourceID="SqlStructure">
  <HeaderTemplate>
    <span><%# Eval("titreen") %></span>
  </HeaderTemplate>
  <ContentTemplate>
    <ol>
      <asp:Label ID="ParentData" runat="server" Text='<%# Eval("no") %>'
Visible="false" />
    </ol>
  </ContentTemplate>
</cc1:Accordion>
<asp:SqlDataSource ID="SqlStructure" runat="server" EnableCaching=true
  SelectCommand="SELECT no, titreen FROM structure WHERE parent = 0
ORDER BY no DESC"/>

I get an error on the line <asp:Label...

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

Error message:

Type not found.

File name: /home/xxxx/AJAX/Default.aspx

    Line: 101

I couldn't find a clue on what exactly the problem is. I'm not sure what
is the type it cannot find. It works fine on IIS.

Thank you
Julien


More information about the Mono-list mailing list