Saturday, March 24, 2012

Web.config when hosting a 1.1 virtual application under a 2.0 site

We are hosting a 1.1 virtual underneath a 2.0 RC1 site, and the 1.1 virtual is using the site's web.config. Why is this happening? Before you ask, we are hosting both in completely separate application pools, and we need the 1.1 app underneath the 2.0 app so they both have the same domain name. We cannot use a sub-domain.
hello.
i think that is the expected result because web apps are supposed to inherit the defnitions of all config files till mchine.config is reached. Since you're saying that the 1.X app is under the v2.0 app, then at the root of the v1.X app all the definitions from the v2.0 will be introduced...
So the expected result is that running 2.0 and 1.1 side by side is no longer possible? There is no way to disable this functionality? The 2.0 web.config is breaking my 1.1 application.

hello.
running 1.X and 2.0 side by side is possible but not the way you're describing. you can allways have 2 sites on the same machine each running its version. however, i think that you can't have a 1.X site configured as a subdir of a 2.0 site and expect everything to work out well...btw, maybe you should take this to the VS forum since ScottG usually answers questions there and he might have a solution to your problem...

0 comments:

Post a Comment