[Mono-bugs] [Bug 76842][Wis] New - Web.config remove directive doesn't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 28 19:32:09 EST 2005

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 devel at stresser.de.


--- shadow/76842	2005-11-28 19:32:09.000000000 -0500
+++ shadow/76842.tmp.22363	2005-11-28 19:32:09.000000000 -0500
@@ -0,0 +1,64 @@
+Bug#: 76842
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Debian Potato
+OS Details: Linux version 2.4.27 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: devel at stresser.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Web.config remove directive doesn't work
+Description of Problem:
+The <remove> directive in the Web.config doesn't work right. If I set a
+remove directive in a location area which points to a handler added in the
+main config area I get an error. <clear/> doesn't produce an error, but the
+ Handler is still active.
+Steps to reproduce the problem:
+1. Default Handler defined.
+   <httpHandlers>
+      <add verb="*" path="*" type="MyHandler"/>
+   </httpHandlers>
+2.  I remove the Handler for a subfolder.
+ <location path="subfolder">
+    <system.web>
+      <httpHandlers>
+        <remove verb="*" path="*"/>
+      <httpHandlers>
+    </system.web>
+3. Accessing http://host/subfolder/test.aspx
+Actual Results:
+System.Configuration.ConfigurationException: There's no mapping to remove
+(node name: remove)  ()
+Expected Results:
+Using the existing test.aspx file in the folder.
+How often does this happen? 
+always (with mod_mono and also with plain xsp)
+Additional Information:
+It works on my Windows Testsetting (IIS + MS.Net) and worked with Mono
+1.0.8 on my Linux Server

More information about the mono-bugs mailing list