[Mono-bugs] [Bug 63001][Nor] New - Location tag in web.config makes Server.Transfer fail

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 13 Aug 2004 03:16:58 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by anmar@gmx.net.

http://bugzilla.ximian.com/show_bug.cgi?id=63001

--- shadow/63001	2004-08-13 03:16:58.000000000 -0400
+++ shadow/63001.tmp.26805	2004-08-13 03:16:58.000000000 -0400
@@ -0,0 +1,67 @@
+Bug#: 63001
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: anmar@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Location tag in web.config makes Server.Transfer fail
+
+Description of Problem:
+When there is a <location /> in a web.config file, if you do a
+Server.Transfer to another page, xsp throws an exception.
+
+Steps to reproduce the problem:
+1. Unzip the attached test case
+2. Point an xsp application to that folder
+3. Point your browser to page1.aspx in that application
+4. Press the button
+
+Actual Results:
+
+System.NullReferenceException: Object reference not set to an instance of
+an objectin <0x000ae> System.Web.Configuration.ConfigurationData:GetConfig
+(string,System.Web.HttpContext)
+in <0x00070> System.Web.Configuration.WebDefaultConfig:GetConfig
+(string,System.Web.HttpContext)
+in <0x00030> System.Web.Configuration.WebDefaultConfig:GetConfig (string)
+in <0x00016> System.Web.Configuration.WebConfigurationSettings:GetConfig
+(string)
+in <0x0000b> System.Web.HttpContext:GetAppConfig (string)
+in <0x00041> System.Web.HttpApplication:CreateHttpHandler
+(System.Web.HttpContext,string,string,string)
+in <0x0023a> System.Web.HttpServerUtility:Execute
+(string,System.IO.TextWriter,bool)
+in <0x000ac> System.Web.HttpServerUtility:Transfer (string,bool)
+in <0x00016> System.Web.HttpServerUtility:Transfer (string)
+in <0x00025> ASP.page1_aspx:Clicked (object,System.EventArgs)
+in <0x00066> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x00092> System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
+in <0x0004f>
+System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
+(string)
+in <0x00016> System.Web.UI.Page:RaisePostBackEvent
+(System.Web.UI.IPostBackEventHandler,string)
+in <0x0003e> System.Web.UI.Page:RaisePostBackEvents ()
+in <0x00266> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000ad> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x002c7> ExecuteHandlerState:Execute ()
+in <0x0007b> StateMachine:ExecuteState
+(System.Web.HttpApplication/IStateHandler,bool&)
+
+Additional Information:
+
+Tested with mono 1.0 and xsp 1.0, with mono 1.0 and xsp 1.0.1, with mono
+1.0.1 and xsp 1.0.1.
+
+Tested only under windows.