[Mono-list] RE: Mono-list digest, Vol 1 #2106 - 10 msgs
Francisco Carpe García
pacocarpe@hotmail.com
Fri, 22 Oct 2004 14:54:46 +0000
Hello,
at the moment, there is not solution to your problem (also the mine). You
can see the email of Dilton McGowan at 14/10/2004 in this list. Nobody who
leads the mono project has said anything about it. It's seems the silent is
the official response.
I avoid this issue having an xsp server running for every application (one
port for every application), but it's not a good solution.
>Date: Thu, 21 Oct 2004 10:34:11 -0600
>From: Jeff Love <doclove@gmail.com>
>Reply-To: Jeff Love <doclove@gmail.com>
>To: mono-list@lists.ximian.com
>Subject: [Mono-list] Problem with multiple websites
>
>I haven't had any problems with mod_mono and ASP.Net until I tried to
>launch a second website. Many of the pages work on the second site,
>but some of the pages give me strange errors. Here is some of the
>background on the problem. I have two sites that are very similar
>except for some name and text changes. All pages are the same and most
>of the controls are the same for both sites. I use Code-Behind for the
>sites. The first site that I access of the two works fine and I get no
>problems. However once I try to access the other site I get errors. No
>matter which site I access first, the second site always gives the
>same errors. Here is an example of the error I get:
>
>System.FormatException: Error parsing 375px
>in [0x00147] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web.UI.WebControls/Unit.cs:173)
>System.Web.UI.WebControls.Unit:.ctor
>(string,System.Globalization.CultureInfo,System.Web.UI.WebControls.UnitType)
>in [0x00004] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web.UI.WebControls/Unit.cs:130)
>System.Web.UI.WebControls.Unit:.ctor
>(string,System.Globalization.CultureInfo)
>in [0x00004] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web.UI.WebControls/Unit.cs:62)
>System.Web.UI.WebControls.Unit:Parse
>(string,System.Globalization.CultureInfo)
>in [0x00048] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web.UI.WebControls/UnitConverter.cs:69)
>System.Web.UI.WebControls.UnitConverter:ConvertFrom
>(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,object)
>in [0x00008] (at
>/cvs/1-mono/mcs/class/System/System.ComponentModel/TypeConverter.cs:66)
>System.ComponentModel.TypeConverter:ConvertFrom (object)
>in [0x0002d] (at /tmp/71884.0.cs:161)
>ASP.addlink_aspx:__BuildControl_m_txtLink ()
>in [0x0004e] (at /tmp/71884.0.cs:85) ASP.addlink_aspx:__BuildControl_Form1
>()
>in [0x00013] (at /tmp/71884.0.cs:70)
>ASP.addlink_aspx:__BuildControlTree (System.Web.UI.Control)
>in [0x0001b] (at /tmp/71884.0.cs:198) ASP.addlink_aspx:FrameworkInitialize
>()
>in [0x00040] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web.UI/Page.cs:716)
>System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
>in [0x00091] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web/HttpApplication.cs:444)
>ExecuteHandlerState:Execute ()
>in [0x0001e] (at
>/cvs/1-mono/mcs/class/System.Web/System.Web/HttpApplication.cs:708)
>StateMachine:ExecuteState
>(System.Web.HttpApplication/IStateHandler,bool&)
>
>Here is the code that it is accessing that is giving the problem:
>
><asp:TextBox id="m_txtLink" runat="server" Width="375px"></asp:TextBox>
>
>I don't see any problems with this line of code.
>
>I'm not sure what the problem is or how I can fix this. Any suggestions?
>
>I am using mono 1.0.2 with xsp 1.0.2 and mod_mono 1.0.2 on a Redhat
>Linux 9 machine. Thanks for your help.
>
>--
>Jeff Love
>Webmaster
>EducationOnlineForComputers.com
>Intelinfo.com
>
>--__--__--
>
_________________________________________________________________
Acepta el reto MSN Premium: Protección para tus hijos en internet.
Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil