[Mono-list] Problem using more than one ASP.NET application with XSP and multiline textboxes
Jon-Eirik Pettersen
Jon-Eirik Pettersen <jonepet@gmail.com>
Wed, 17 Nov 2004 18:18:38 +0100
I have reported a bug but noe activity shown, so I don't know weither
this is a bug or just a configuration error. The decription of the
problem from the bug report (
http://bugzilla.ximian.com/show_bug.cgi?id=69214 ) is (actually a
copy-paste):
Description of Problem:
When I have more than one web application running on the same server using
mod_mono and XSP I cannot use multiline textboxes on more than one of them.
The other one fails (code 500, NullReferenceException).
Steps to reproduce the problem:
1. Create two applications using webapp-XML-config file on different
virtual hosts in Apache.
2. Add a webform using multiline textbox on both.
3. Run the two applications.
4: Restart mono, try both applications again, but the last one last time
first this time.
Actual Results:
The first application works, but the other one:
System.NullReferenceException: Object reference not set to an instance of
an object
in <0x0000f> 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 <0x0000e> 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 <0x00050> System.Web.Compilation.TemplateControlCompiler:CreateMethods ()
in <0x0000a> System.Web.Compilation.PageCompiler:CreateMethods ()
in <0x00131> 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&)
restart mono, and try the other one, it works, then try the previos one,
does not work.
Expected Results:
Both applications work.
How often does this happen?
Allways.
Additional Information:
I'm using Apache 1.3.31 with mod_mono installed. The server has several
virtualhosts and I have created a config-file to XSP to run ASP.NET in /asp
on all hosts.
-----
Have any of you experienced similar problems, any workarounds?
Anything wrong I might have done?
Versions I'm using (copy-paste from dpkg -l, Debian Sarge/Testing):
ii libmono0 1.0.2-1 libraries for the Mono interpreter
ii mono 1.0.2-1 The Mono .NET development environment
ii mono-apache-se 1.0-3 The mod-mono server
ii mono-assemblie 1.0.2-1 architecture specific files for Mono/.NET as
ii mono-assemblie 1.0.2-1 the Mono .NET class libraries
ii mono-common 1.0.2-1 common files for the Mono CLI runtimes
ii mono-jay 1.0.2-1 LALR(1) parser generator oriented to Java/.N
ii mono-jit 1.0.2-1 fast CLI (.NET/Mono) JIT compiler
ii mono-mcs 1.0.2-1 the Mono C# compiler
ii mono-utils 1.0.2-1 Mono utilities
ii mono-xsp 1.0-3 simple web server to run ASP.NET application