http://bugzilla.novell.com/show_bug.cgi?id=624914

http://bugzilla.novell.com/show_bug.cgi?id=624914#c1


Marek Habersack <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Sys.Web                     |misc
         AssignedTo|[email protected]       |[email protected]
            Product|Mono: Class Libraries       |Mono: Runtime

--- Comment #1 from Marek Habersack <[email protected]> 2010-08-10 23:17:23 
CEST ---
This is a bug in the runtime. The problem here is that in 4.0, for some reason,
the ConfigurationManager static class is constructed twice in the ASP.NET
application's AppDomain, so it gets to use the default
ClientConfigurationSystem instead of the
System.Web.Configuration.HttpConfigurationSystem. Here's a log of a run under
2.0 profile:

------------------------
/home/devel/trunk/bin/mono  -O=-aot  --debug  
/home/devel/trunk/lib/mono/2.0/xsp2.exe --verbose --root "." --port 8080  | tee
 2>&1
ConfigurationManager..cctor ()
    appDomain == 0
Adding applications '/:.'...
Registering application:
    Host:          any
    Port:          any
    Virtual path:  /
    Physical path: /home/src/tmp/tests/Bugs/Bug624914/BlogEngine.Web/
ConfigurationManager..cctor ()
    appDomain == 1
ConfigurationManager.ChangeConfigurationSystem
(System.Web.Configuration.HttpConfigurationSystem)
    systemWebInUse == True
------------------------

And here's one from 4.0:

------------------------
/home/devel/trunk/bin/mono  -O=-aot  --debug  
/home/devel/trunk/lib/mono/4.0/xsp4.exe --verbose --root "." --port 8080  | tee
 2>&1
ConfigurationManager..cctor ()
    appDomain == 0
Adding applications '/:.'...
Registering application:
    Host:          any
    Port:          any
    Virtual path:  /
    Physical path: /home/src/tmp/tests/Bugs/Bug624914/BlogEngine.Web/
ConfigurationManager..cctor ()
    appDomain == 1
ConfigurationManager.ChangeConfigurationSystem
(System.Web.Configuration.HttpConfigurationSystem)
    systemWebInUse == True
ConfigurationManager..cctor ()
    appDomain == 1
------------------------

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to