Re: [Mono-list] Problem with multiple web applications

2004-09-22 Thread Francisco Carpe García
Hello,
I'm still having the same problem with mono 1.0.2.
Regards,
Paco Caroe.

From: Chris Turchin [EMAIL PROTECTED]
To: Francisco Carpe García [EMAIL PROTECTED]
CC: mono-list [EMAIL PROTECTED]
Subject: Re: [Mono-list] Problem with multiple web applications
Date: Tue, 21 Sep 2004 20:59:56 +0200
Hi,
i believe this is a problem with threads and appdomains. it is related
to these bugs:
http://bugzilla.ximian.com/show_bug.cgi?id=50049
http://bugzilla.ximian.com/show_bug.cgi?id=55978 (the one you found)
http://bugzilla.ximian.com/show_bug.cgi?id=60445
I noticed it in 1.0.1 still also and am running from cvs again where I
do not seem to be experiencing it anymore. however, bug 50049 (which is
the bug which these other two are marked as duplicates of) is still
open, so i am not sure if it is really fixed.
lupus or gonzalo can probably say more to that.
regards,
--chris
On Tue, 2004-09-21 at 18:19 +, Francisco Carpe García wrote:
 Hello,

 I'm triying to port my applications written with .net 1.1 to mono. I`m 
using
 Fedora Core 2 and mono 1.0.1, but I get a problem that I think it's 
about
 executing multiple web applications on xsp server. I have two 
application, a
 core aplication that provides a navigation frames and suports 
aplication's
 security (permission, roles, etc), and a test application that is 
accesed
 from a link existing in core application, and therefore, the core
 application is loaded first. When I get test application from core
 application I obtain the following error when I execute a postback in a 
web
 form (the first time, no postback, the web form is loaded OK):

 System.FormatException: Error parsing 424px
 in 0x0026c System.Web.UI.WebControls.Unit:.ctor
 
(string,System.Globalization.CultureInfo,System.Web.UI.WebControls.UnitType)
 in 0x00015 System.Web.UI.WebControls.Unit:.ctor
 (string,System.Globalization.CultureInfo)
 in 0x00027 System.Web.UI.WebControls.Unit:Parse
 (string,System.Globalization.CultureInfo)
 in 0x000f6 System.Web.UI.WebControls.UnitConverter:ConvertFrom
 
(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,object)
 in 0x00027 System.ComponentModel.TypeConverter:ConvertFrom (object)
 in 0x00134 ASP.default_aspx:__BuildControl_titulo ()
 in 0x000b0 ASP.default_aspx:__BuildControl_Form1 ()
 in 0x0005b ASP.default_aspx:__BuildControlTree (System.Web.UI.Control)
 in 0x00045 ASP.default_aspx:FrameworkInitialize ()
 in 0x0009e System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
 in 0x002eb ExecuteHandlerState:Execute ()
 in 0x00084 StateMachine:ExecuteState
 (System.Web.HttpApplication/IStateHandler,bool)


 In some others forms, when I do postback I get other type of error:


 System.NullReferenceException: Object reference not set to an instance 
of an
 object
 in 0xf System.Int32:FindSign
 (int,string,System.Globalization.NumberFormatInfo,bool,bool)
 in 0x00427 System.Int32:Parse
 (string,System.Globalization.NumberStyles,System.IFormatProvider)
 in 0x00013 System.Int32:Parse (string,System.IFormatProvider)
 in 0x00019 System.Convert:ToInt32 (string,System.IFormatProvider)
 in 0xe System.String:System.IConvertible.ToInt32
 (System.IFormatProvider)
 in 0x00473 System.Convert:ToType
 (object,System.Type,System.IFormatProvider)
 in 0x00069 System.Convert:ChangeType (object,System.Type)
 in 0x0020d
 System.Web.Compilation.TemplateControlCompiler:GetExpressionFromString
 (System.Type,string)
 in 0x000e9
 System.Web.Compilation.TemplateControlCompiler:AddCodeForPropertyOrField
 (System.Web.UI.ControlBuilder,System.Type,string,string,bool)
 in 0x001e3
 
System.Web.Compilation.TemplateControlCompiler:ProcessPropertiesAndFields
 
(System.Web.UI.ControlBuilder,System.Reflection.MemberInfo,string,string)
 in 0x003e0
 
System.Web.Compilation.TemplateControlCompiler:CreateAssignStatementsFromAttributes
 (System.Web.UI.ControlBuilder)
 in 0x0014b
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00494
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00494
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00494
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00050 
System.Web.Compilation.TemplateControlCompiler:CreateMethods ()
 in 0xa System.Web.Compilation.PageCompiler:CreateMethods ()
 in 0x00148 System.Web.Compilation.BaseCompiler:GetCompiledType ()
 in 0x00251 System.Web.Compilation.AspGenerator:GetCompiledType ()
 in 0x00036 System.Web.UI.PageParser:CompileIntoType ()
 in 0x00018 System.Web.UI.TemplateControlParser:GetCompiledInstance ()
 in 0x00050 System.Web.UI.PageParser:GetCompiledPageInstance
 (string,string,System.Web.HttpContext)
 in 0x00011 System.Web.UI.PageHandlerFactory:GetHandler
 (System.Web.HttpContext,string,string,string)
 in 0x0034e

Re: [Mono-list] Problem with multiple web applications

2004-09-22 Thread Tomek Soroka
I have such problem too :-(
best!
tomek
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problem with multiple web applications

2004-09-21 Thread Francisco Carpe García
Hello,
I'm triying to port my applications written with .net 1.1 to mono. I`m using 
Fedora Core 2 and mono 1.0.1, but I get a problem that I think it's about 
executing multiple web applications on xsp server. I have two application, a 
core aplication that provides a navigation frames and suports aplication's 
security (permission, roles, etc), and a test application that is accesed 
from a link existing in core application, and therefore, the core 
application is loaded first. When I get test application from core 
application I obtain the following error when I execute a postback in a web 
form (the first time, no postback, the web form is loaded OK):

System.FormatException: Error parsing 424px
in 0x0026c System.Web.UI.WebControls.Unit:.ctor 
(string,System.Globalization.CultureInfo,System.Web.UI.WebControls.UnitType)
in 0x00015 System.Web.UI.WebControls.Unit:.ctor 
(string,System.Globalization.CultureInfo)
in 0x00027 System.Web.UI.WebControls.Unit:Parse 
(string,System.Globalization.CultureInfo)
in 0x000f6 System.Web.UI.WebControls.UnitConverter:ConvertFrom 
(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,object)
in 0x00027 System.ComponentModel.TypeConverter:ConvertFrom (object)
in 0x00134 ASP.default_aspx:__BuildControl_titulo ()
in 0x000b0 ASP.default_aspx:__BuildControl_Form1 ()
in 0x0005b ASP.default_aspx:__BuildControlTree (System.Web.UI.Control)
in 0x00045 ASP.default_aspx:FrameworkInitialize ()
in 0x0009e System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in 0x002eb ExecuteHandlerState:Execute ()
in 0x00084 StateMachine:ExecuteState 
(System.Web.HttpApplication/IStateHandler,bool)

In some others forms, when I do postback I get other type of error:
System.NullReferenceException: Object reference not set to an instance of an 
object
in 0xf System.Int32:FindSign 
(int,string,System.Globalization.NumberFormatInfo,bool,bool)
in 0x00427 System.Int32:Parse 
(string,System.Globalization.NumberStyles,System.IFormatProvider)
in 0x00013 System.Int32:Parse (string,System.IFormatProvider)
in 0x00019 System.Convert:ToInt32 (string,System.IFormatProvider)
in 0xe System.String:System.IConvertible.ToInt32 
(System.IFormatProvider)
in 0x00473 System.Convert:ToType 
(object,System.Type,System.IFormatProvider)
in 0x00069 System.Convert:ChangeType (object,System.Type)
in 0x0020d 
System.Web.Compilation.TemplateControlCompiler:GetExpressionFromString 
(System.Type,string)
in 0x000e9 
System.Web.Compilation.TemplateControlCompiler:AddCodeForPropertyOrField 
(System.Web.UI.ControlBuilder,System.Type,string,string,bool)
in 0x001e3 
System.Web.Compilation.TemplateControlCompiler:ProcessPropertiesAndFields 
(System.Web.UI.ControlBuilder,System.Reflection.MemberInfo,string,string)
in 0x003e0 
System.Web.Compilation.TemplateControlCompiler:CreateAssignStatementsFromAttributes 
(System.Web.UI.ControlBuilder)
in 0x0014b 
System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
(System.Web.UI.ControlBuilder,bool,bool)
in 0x00494 
System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
(System.Web.UI.ControlBuilder,bool,bool)
in 0x00494 
System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
(System.Web.UI.ControlBuilder,bool,bool)
in 0x00494 
System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
(System.Web.UI.ControlBuilder,bool,bool)
in 0x00050 System.Web.Compilation.TemplateControlCompiler:CreateMethods ()
in 0xa System.Web.Compilation.PageCompiler:CreateMethods ()
in 0x00148 System.Web.Compilation.BaseCompiler:GetCompiledType ()
in 0x00251 System.Web.Compilation.AspGenerator:GetCompiledType ()
in 0x00036 System.Web.UI.PageParser:CompileIntoType ()
in 0x00018 System.Web.UI.TemplateControlParser:GetCompiledInstance ()
in 0x00050 System.Web.UI.PageParser:GetCompiledPageInstance 
(string,string,System.Web.HttpContext)
in 0x00011 System.Web.UI.PageHandlerFactory:GetHandler 
(System.Web.HttpContext,string,string,string)
in 0x0034e System.Web.HttpApplication:CreateHttpHandler 
(System.Web.HttpContext,string,string,string)
in 0x0011f CreateHandlerState:Execute ()
in 0x00084 StateMachine:ExecuteState 
(System.Web.HttpApplication/IStateHandler,bool

Nevertheless, if I access directly to test application without use the 
link present in core application I don`t get any error (the core 
application in this case is not loaded).

I have finding some information about this issue, and I have found some 
information about a bug quite similar to my error (it`s bugzilla report is 
http://bugzilla.ximian.com/show_bug.cgi?id=55978), but that nowadays is 
closed as resolved. There are a thread in this list talking about this bug 
(http://lists.ximian.com/archives/public/mono-list/2004-June/021629.html).

Could anybody tell me if my error could be a new bug related with the one I 
have mentioned?

Thanks very much,
Paco Carpe.
_
¿Estás pensando en cambiar de coche? Todas los modelos de 

Re: [Mono-list] Problem with multiple web applications

2004-09-21 Thread Chris Turchin
Hi, 

i believe this is a problem with threads and appdomains. it is related
to these bugs:

http://bugzilla.ximian.com/show_bug.cgi?id=50049
http://bugzilla.ximian.com/show_bug.cgi?id=55978 (the one you found)
http://bugzilla.ximian.com/show_bug.cgi?id=60445

I noticed it in 1.0.1 still also and am running from cvs again where I
do not seem to be experiencing it anymore. however, bug 50049 (which is
the bug which these other two are marked as duplicates of) is still
open, so i am not sure if it is really fixed. 

lupus or gonzalo can probably say more to that.

regards,
--chris

On Tue, 2004-09-21 at 18:19 +, Francisco Carpe Garca wrote:
 Hello,
 
 I'm triying to port my applications written with .net 1.1 to mono. I`m using 
 Fedora Core 2 and mono 1.0.1, but I get a problem that I think it's about 
 executing multiple web applications on xsp server. I have two application, a 
 core aplication that provides a navigation frames and suports aplication's 
 security (permission, roles, etc), and a test application that is accesed 
 from a link existing in core application, and therefore, the core 
 application is loaded first. When I get test application from core 
 application I obtain the following error when I execute a postback in a web 
 form (the first time, no postback, the web form is loaded OK):
 
 System.FormatException: Error parsing 424px
 in 0x0026c System.Web.UI.WebControls.Unit:.ctor 
 (string,System.Globalization.CultureInfo,System.Web.UI.WebControls.UnitType)
 in 0x00015 System.Web.UI.WebControls.Unit:.ctor 
 (string,System.Globalization.CultureInfo)
 in 0x00027 System.Web.UI.WebControls.Unit:Parse 
 (string,System.Globalization.CultureInfo)
 in 0x000f6 System.Web.UI.WebControls.UnitConverter:ConvertFrom 
 (System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,object)
 in 0x00027 System.ComponentModel.TypeConverter:ConvertFrom (object)
 in 0x00134 ASP.default_aspx:__BuildControl_titulo ()
 in 0x000b0 ASP.default_aspx:__BuildControl_Form1 ()
 in 0x0005b ASP.default_aspx:__BuildControlTree (System.Web.UI.Control)
 in 0x00045 ASP.default_aspx:FrameworkInitialize ()
 in 0x0009e System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
 in 0x002eb ExecuteHandlerState:Execute ()
 in 0x00084 StateMachine:ExecuteState 
 (System.Web.HttpApplication/IStateHandler,bool)
 
 
 In some others forms, when I do postback I get other type of error:
 
 
 System.NullReferenceException: Object reference not set to an instance of an 
 object
 in 0xf System.Int32:FindSign 
 (int,string,System.Globalization.NumberFormatInfo,bool,bool)
 in 0x00427 System.Int32:Parse 
 (string,System.Globalization.NumberStyles,System.IFormatProvider)
 in 0x00013 System.Int32:Parse (string,System.IFormatProvider)
 in 0x00019 System.Convert:ToInt32 (string,System.IFormatProvider)
 in 0xe System.String:System.IConvertible.ToInt32 
 (System.IFormatProvider)
 in 0x00473 System.Convert:ToType 
 (object,System.Type,System.IFormatProvider)
 in 0x00069 System.Convert:ChangeType (object,System.Type)
 in 0x0020d 
 System.Web.Compilation.TemplateControlCompiler:GetExpressionFromString 
 (System.Type,string)
 in 0x000e9 
 System.Web.Compilation.TemplateControlCompiler:AddCodeForPropertyOrField 
 (System.Web.UI.ControlBuilder,System.Type,string,string,bool)
 in 0x001e3 
 System.Web.Compilation.TemplateControlCompiler:ProcessPropertiesAndFields 
 (System.Web.UI.ControlBuilder,System.Reflection.MemberInfo,string,string)
 in 0x003e0 
 System.Web.Compilation.TemplateControlCompiler:CreateAssignStatementsFromAttributes 
 (System.Web.UI.ControlBuilder)
 in 0x0014b 
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00494 
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00494 
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00494 
 System.Web.Compilation.TemplateControlCompiler:CreateControlTree 
 (System.Web.UI.ControlBuilder,bool,bool)
 in 0x00050 System.Web.Compilation.TemplateControlCompiler:CreateMethods ()
 in 0xa System.Web.Compilation.PageCompiler:CreateMethods ()
 in 0x00148 System.Web.Compilation.BaseCompiler:GetCompiledType ()
 in 0x00251 System.Web.Compilation.AspGenerator:GetCompiledType ()
 in 0x00036 System.Web.UI.PageParser:CompileIntoType ()
 in 0x00018 System.Web.UI.TemplateControlParser:GetCompiledInstance ()
 in 0x00050 System.Web.UI.PageParser:GetCompiledPageInstance 
 (string,string,System.Web.HttpContext)
 in 0x00011 System.Web.UI.PageHandlerFactory:GetHandler 
 (System.Web.HttpContext,string,string,string)
 in 0x0034e System.Web.HttpApplication:CreateHttpHandler 
 (System.Web.HttpContext,string,string,string)
 in 0x0011f CreateHandlerState:Execute ()
 in 0x00084 StateMachine:ExecuteState 
 (System.Web.HttpApplication/IStateHandler,bool
 
 
 Nevertheless, if I access directly to test application