471,089 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Adding httpModules problems

Hi Everybody,
When we defined this section in web.config in the main root,
<httpModules>
<add name="ApplicationModule"
type="Myspace.Community.ApplicationModule,Communit y" />
</httpModules
applications which are defined within the root are having problems with
loading of the Community.dll which resided in the root/bin directory.
The problems seems to occur when child application are trying to inherit the
settings and load the dll but are looking for it in the local bin folders.

How do I either stop child application from inheritance of this portion of
parent web.config or inform them where the dll is located, which is
root/bin not root/child/bin
Bogdan Fiedur


Nov 18 '05 #1
1 1446
I am not sure if httpModules support a remove of modules in sub config
files, but You could add a "probing" element in the appropriate place in
order to get the apps to look in other directoories if they can't find
the bin they are looking for. Also you could GAC the assembly that is
used by all apps and decorate your module element with the public key,
culture and version.

Check this article out. Hope it helps:
http://msdn.microsoft.com/library/de...l=/library/en-
us/cpguide/html/cpconstep4locatingassemblythroughcodebasesorprobin g.asp

Rich

In article <uH**************@TK2MSFTNGP15.phx.gbl>,
bo****@softfornet.com says...
Hi Everybody,
When we defined this section in web.config in the main root,
<httpModules>
<add name="ApplicationModule"
type="Myspace.Community.ApplicationModule,Communit y" />
</httpModules
applications which are defined within the root are having problems with
loading of the Community.dll which resided in the root/bin directory.
The problems seems to occur when child application are trying to inherit the
settings and load the dll but are looking for it in the local bin folders.

How do I either stop child application from inheritance of this portion of
parent web.config or inform them where the dll is located, which is
root/bin not root/child/bin
Bogdan Fiedur


Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Aurel | last post: by
1 post views Thread by Craig Neuwirt | last post: by
reply views Thread by tshad | last post: by
2 posts views Thread by Mikael Syska | last post: by
3 posts views Thread by =?Utf-8?B?Tm9yZW1hYw==?= | last post: by
1 post views Thread by Samuel R. Neff | last post: by
2 posts views Thread by Jimi Schacht | last post: by
5 posts views Thread by =?Utf-8?B?TUNN?= | last post: by

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.