J
Jose Perez
Dear All,
We are experiencing a problem with web.config and the fact that it's
settings are being "inherited" other applications.
Our default website is configured to run "MyApplication1". The website
also contains 2 Virtual Directories which run "MyApplication2" and
"MyApplication3". All three applications are .NET projects.
"MyApplication2" inherits a HTTPModule setting from "MyApplication1"
so to fix this we have amended the web.config for "MyApplication2"
with the following code:
<httpModules>
<remove name="HTTPHandler" />
<clear />
</httpModules>
Furthermore we inserted a dummy dll in the bin directory. This has
seemingly fixed the problem we were receiveing.
Now onto my question...is there anything we can do to stop the
web.congif file from being inherited? We have tried to host these all
as Virtual Directories and use some kind of redirecting within IIS to
select the correct application. We have been unable to make this work.
I´m not sure whether this is possible but perhaps is a question for
another newsgroup .
Thanks in advance for your help.
Cheers
Jose
We are experiencing a problem with web.config and the fact that it's
settings are being "inherited" other applications.
Our default website is configured to run "MyApplication1". The website
also contains 2 Virtual Directories which run "MyApplication2" and
"MyApplication3". All three applications are .NET projects.
"MyApplication2" inherits a HTTPModule setting from "MyApplication1"
so to fix this we have amended the web.config for "MyApplication2"
with the following code:
<httpModules>
<remove name="HTTPHandler" />
<clear />
</httpModules>
Furthermore we inserted a dummy dll in the bin directory. This has
seemingly fixed the problem we were receiveing.
Now onto my question...is there anything we can do to stop the
web.congif file from being inherited? We have tried to host these all
as Virtual Directories and use some kind of redirecting within IIS to
select the correct application. We have been unable to make this work.
I´m not sure whether this is possible but perhaps is a question for
another newsgroup .
Thanks in advance for your help.
Cheers
Jose