views:

17

answers:

0

Context: I have an application which handles login/authentication as a root website in IIS7. In this website, I would like to have sub-applications which all use the same HttpModule, which is defined in the root site's dll. At the moment, I obviously get the

"Could not load file or assembly 'CompanyName.Namespace' or one of its dependencies. The system cannot find the file specified."

error in my sub-applications and having the bin folder copied over isn't an option (since sub-applications will be automatically generated.)

What would be the best way of re-using the HttpModule in each sub-application?