473,394 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Removing HttpHandler in SubWeb

I have a subweb (marked as an application in IIS) that I do >>not<< want to utilize an httpHandler
defined in the parent web.

According to the documentation, I should be able to do this by putting the following directive in
the subweb's web.config file:

<httpHandlers>
<remove verb="*" path="*.scef" />
</httpHandlers>

But that doesn't work unless you first make the parent web's application dll -- where the handler is
defined -- available to the subweb (I did this by copying the parent dll into the subweb's bin
directory...which is stupid, but it works).

I've seen reference to this being a known bug in ASP.NET.

I'd like confirmation that this is a known bug. I'd also appreciate hearing if there are any other
workarounds other than the one I stumbled across.

- Mark
Nov 18 '05 #1
2 2603
"Mark Olbert" <ma**@arcabama.com> wrote in message
news:8g********************************@4ax.com...
I have a subweb (marked as an application in IIS) that I do >>not<< want to utilize an httpHandler defined in the parent web.

According to the documentation, I should be able to do this by putting the following directive in the subweb's web.config file:

<httpHandlers>
<remove verb="*" path="*.scef" />
</httpHandlers>

But that doesn't work unless you first make the parent web's application dll -- where the handler is defined -- available to the subweb (I did this by copying the parent dll into the subweb's bin directory...which is stupid, but it works).

I've seen reference to this being a known bug in ASP.NET.

I'd like confirmation that this is a known bug. I'd also appreciate hearing if there are any other workarounds other than the one I stumbled across.


Yes, this is a known misfeature, and you've found the workaround.

The only other thing to add is that you only need an assembly with the same
name as the one in the superweb; you don't need a copy of the actual
assembly.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #2
>The only other thing to add is that you only need an assembly with the same
name as the one in the superweb; you don't need a copy of the actual
assembly.


That's important in this case 'cause the superweb's assembly is quite large.

Thanx for the info!

- Mark

p.s. to Microsoft -- Shame on you for shipping a product with this kind of bug in it, and further
shame on you for not fixing it after several years of presence in the market! Sheesh, it almost
looks like you're a monopoly or something, and thus see no need to be responsive to customer
problems.
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hanse Davion | last post by:
Can anyone provide some insight on what this problem could be? I have searched the web, read forums, and all the installation documentation for the dotnetnuke feeware portal from asp.net. I am...
3
by: Jed | last post by:
I have written an HttpHandler which I invoke through an ashx page. The HttpHandler does various things to process the request, then it is supposed to redirect to a confirmation page. Everything...
0
by: Isabelle | last post by:
Hi I have posted this in the microsoft.public.frontpage newsgroups. Since it involves both Frontpage ext. 2002 on a windows 2000 Advanced's web server, and ASP.Net (framework 1.0), I decided to...
4
by: Jeremy Lew | last post by:
When my HttpHandler is processing a request when installed on a particular 2003 Server machine, the Context.Session object is null. Any idea why this might be? My handler implements...
3
by: Ralf Müller | last post by:
hi all! in my custom HttpHandler HttpContext.Current.Session is not set - why? greetings, ralf
9
by: Jared Tullis | last post by:
We have an .NET 1.1 application running on 4 2K3 load balanced servers (using WLBS). IIS has the .NET aspnet_isapi.dll mapped as a wildcard application map. The web.config points *.html to a...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
3
by: Selden | last post by:
I'm not realy sure if this is called a "subweb" or not, but here's what I want to do: I have a website, smccabe.net The pages on this site are accessed by the form...
5
by: zlf | last post by:
Hello, I try to use a custom HttpHandler to add something to session, then display the original page. public void ProcessRequest(HttpContext context) { context.Session = "test"; } But, a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.