re:
!Thanks for your reply but you're mistaken.
Do you think it possible that, perhaps, you don't grasp the subleties involved ?
You *cannot*, categorically, state that *any* changes made
to a global web.config are inheritable by all applications.
Some configuration parameters are reversible in a web.config. Others are not.
Some configuration parameters are exclusively for a single application. Others are global.
re:
!Many other changes I've made to the global web.config work fine.
!It's just this httpHandler that's acting up.
If you want to configure an httphandler so it works for all applications,
you should register it in the box's machine.config, not in the box's root web.config.
Registering an httphandler in the root web.config
will only allow the httphandler to work in the root web.
Here's an article which will make the concept(s) clearer to you:
http://www.15seconds.com/issue/020417.htm
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"mcqwerty" <mc******@nospam.nospamwrote in message news:33**********************************@microsof t.com...
Thanks for your reply but you're mistaken. You can affect all your
applications by editing the global web.config file. IIS even offers a button
labeled "Edit Global Configuration..." on the "ASP.NET" tab of a website
properites dialog.
Many other changes I've made to the global web.config work fine. It's just
this httpHandler that's acting up.
Thanks again.
"Juan T. Llibre" wrote:
>Web.config files are only valid for an application or a subdirectory of an application.
Any changes you make to the global web.config will be reflected
in the web root's configuration, and not in individual applications.
Make the changes in your application's web.config.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"mcqwerty" <mc******@nospam.nospamwrote in message news:CD**********************************@microsof t.com...
Hello,
I'm trying to enable an error handling package at the root of my web server
by editing this file:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CO NFIG\web.config
In the httpHandlers section I've added:
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory,
Elmah, Version=1.0.9414.0, Culture=neutral, PublicKeyToken=42734318a98ac1df"
validate="true" />
This handlder works fine when declared in the application's local
web.config. But when I move it to the global web.config calls to 'elmah.axd'
cause a 404 error. There are many other httphandlers in global web.config
that seem to work fine. I've tried path variations starting with a tilde(~)
and asterix at both ends; no luck.
Thanks for any advice.