[Mono-aspnet-list] System.ArgumentException: Key duplication when adding: httpModules

Daniel J. Summers daniel.summers.2415 at gmail.com
Fri Jun 1 19:15:27 UTC 2012


Do you have <clear/> as the first item below the <httpModules> entry in
your web.config?  If not, you may be trying to add a module that the base
configuration already has.  There's a chain of inheritance for those
configurations, starting with a machine-wide one, so a lot of times  you'll
see <clear/> as the first item, then the config will add only the parts it
needs.  (This applies to more than just the httpModules entry.)

If you do have clear, and it's still happening, that very well may be a
bug; you might check the changelog for versions since 2.10.5 to see if it's
identified as being fixed in any of those.

-- 
*Daniel J. Summers*
*Owner, DJS Consulting*
E-mail <daniel.summers.2415 at gmail.com> • Website <http://djs-consulting.com>
 • Support <http://support.djs-consulting.com> • Tech
Blog<http://techblog.djs-consulting.com>

GEEKCODE 3.12 GCS/IT d s-:+ a C++ P--- L++ E--- W++ N++ o? K- w !O M--
V PS+ PE++ Y? PGP- t+ 5? X+ R* tv b+ DI++ D+ G- e<++ h---- r+++ y++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20120601/ed4cdb1b/attachment.html>


More information about the Mono-aspnet-list mailing list