Author: krasnov
Date: 2007-01-04 09:13:05 -0500 (Thu, 04 Jan 2007)
New Revision: 70479

Modified:
   trunk/mcs/class/System.Web/System.Web/ChangeLog
   trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
   trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
Log:
* HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager should be 
initializaed before any possible access to it

Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog     2007-01-04 14:10:41 UTC 
(rev 70478)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog     2007-01-04 14:13:05 UTC 
(rev 70479)
@@ -1,5 +1,10 @@
 2007-01-04  Vladimir Krasnov  <[EMAIL PROTECTED]>
 
+       * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
+       should be initializaed before any possible access to it
+
+2007-01-04  Vladimir Krasnov  <[EMAIL PROTECTED]>
+
        * HttpRequest.cs: fixed Path property, add call of
        Uri.UnescapeDataString in net_2_0
 

Modified: trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs     
2007-01-04 14:10:41 UTC (rev 70478)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs     
2007-01-04 14:13:05 UTC (rev 70479)
@@ -383,9 +383,7 @@
                                        app_file = Path.Combine 
(physical_app_path, "global.asax");
 
                        
-#if NET_2_0
-                               WebConfigurationManager.Init ();
-#else
+#if !NET_2_0
                                WebConfigurationSettings.Init (context);
 #endif
                

Modified: trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs        2007-01-04 
14:10:41 UTC (rev 70478)
+++ trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs        2007-01-04 
14:13:05 UTC (rev 70479)
@@ -68,6 +68,7 @@
 
                public HttpRuntime ()
                {
+                       WebConfigurationManager.Init ();
                        _queue_manager = new QueueManager ();
                        _trace_manager = new TraceManager ();
                        _cache = new Cache ();
@@ -96,6 +97,7 @@
 
                static HttpRuntime ()
                {
+                       WebConfigurationManager.Init ();
                        queue_manager = new QueueManager ();
                        trace_manager = new TraceManager ();
                        timeout_manager = new TimeoutManager ();

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to