[Mono-list] BackColor problem under mod_mono, ok on xsp

Kevin Flanagan kevin.flanagan at bom.co.uk
Sun Jul 29 15:00:57 EDT 2007


Environment: Mono 1.2.4-6 on SuSE 9.3, mod_mono 1.2.4, Apache2

Got an ASP.NET 1.1 site running fine using xsp or xsp2 from command line to
serve pages on port 8088. But when trying to serve same pages with mod_mono
and Apache, get the following output:

Server Error in '/test' Application
Parser Error
Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.
Error message:
Color Goldenrod is not a valid color.
File name:  /srv/www/QBC/BookList.aspx
    Line: 23
Source Error:
                                <asp:Label id="lblSort"
runat="server">lblSort</asp:Label></p>
                        <P><asp:label id="lblDebug" runat="server"
Visible="False">lblDebug</asp:label><asp:linkbutton id="cmdAddBook"
runat="server" ToolTip="Add a new, blank book entry which can then be
modified.">Add blank entry</asp:linkbutton></P>
                        <P><asp:datagrid id=BookDataGrid runat="server"
EnableViewState="False" AllowSorting="True" DataSource="<%# DataView1 %>"
AutoGenerateColumns="False" Width="100%" DataKeyField="ID"
AllowPaging="True">
                                        <HeaderStyle Font-Bold="True"
BackColor="Goldenrod"></HeaderStyle>
                                        <Columns>
                                                <asp:TemplateColumn
SortExpression="BOOK_NUM" HeaderText="No.">
                                                        <ItemTemplate>

  07/29/2007 18:16:39

When setting up mod_mono, I ran 'configure' with the
arg --with-mono-prefix=/opt/mono-1.2.4, so I don't think it's picking up an
older version or something. The page http://www.mono-project.com/ASP.NET
says to "download and install the mod_mono and xsp components of Mono". Got
mod_mono and built & installed as per instructions, but the Mono 1.2.4-6
install (using the generic Linux installer for x86) already included xsp, so
I didn't download that separately. Presumably that wouldn't cause any issue?

Anyone know why there might be a difference between xsp/xsp2 and mod_mono
here?

Thanks in advance for any leads

Kevin Flanagan.







More information about the Mono-list mailing list