Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub webs and web.config conflicts

Status
Not open for further replies.
Jun 9, 2006
159
US
Hello,

I have an IIS 6.0 server on windows 2K3. In the "Default" web site I have a web appliation with an HTTP module registeredd in the web.config like so:

<httpModules>
<add name="UploadHttpModule" type="UploadHttpModule,Web.Upload" />
</httpModules>

So when I access it works fine.

I then added a sub web to IIS. This is a sepereate web app that you acces by going to When I try to access this sub web I get this error message:

Code:
 Parser Error Message: Could not load file or assembly 'Web.Upload' or one of its dependencies. The system cannot find the file specified. (D:\WT_WEB\web.config line 51)


How can I make the sub web ignore the parent's web.config?

Thank you!






Shawn Molloy
Seattle, WA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top