2.0 on root and 1.1 in virtual

G

Guest

My main site is in .NET 2.0 but i have one virtual directory under this
that i want to run under 1.1. When i change the mode to 1.1 and try to browse
to it it seems to pull in the root's web.config file(which is in 2.0).

{root_in_2.0}\web.config
{root_in_2.0}\{vdir_in_1.1}\web.config

I should say they are different app pools.

Appreciate it,
Cisco
 
S

Steven Cheng[MSFT]

Hi Cisco,

As for hosting mulitple mixed version ASP.NET application in single IIS
website, there're something we'd have to take care:

Since ASP.NET application's web.config will always inherit settings from
parent application's web.config or the Site's root web.config. So be
careful that don't add any 2.0 specific configuration element in root
web.config or parent web app(if they're configured as asp.net 2.0).
Otherwise, if there has sub application that configured as asp.net 1.1, the
runtime will fail to parse those 2.0 specific new configuration setting
(elements like connectionstrings....).

In addition. It'll be better and easier to maintain if we can separate
asp.net 1.1 application from 2.0 apps in different IIS websites..(Also with
different app pool)

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)





--------------------
| Thread-Topic: 2.0 on root and 1.1 in virtual
| thread-index: AcYbMj1DA4VFDVCvTIa1qi/8J9tJJg==
| X-WBNR-Posting-Host: 24.167.83.157
| From: "=?Utf-8?B?Y2lzY28=?=" <[email protected]>
| References: <[email protected]>
| Subject: RE: 2.0 on root and 1.1 in virtual
| Date: Mon, 16 Jan 2006 22:50:01 -0800
| Lines: 22
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:371329
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Well i found this
|
http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=e
6c107e5-8849-4541-8355-0017ba211a86
|
| I guess the answer is no unless I change the page layout.
|
|
|
| "cisco" wrote:
|
| >
| > My main site is in .NET 2.0 but i have one virtual directory under
this
| > that i want to run under 1.1. When i change the mode to 1.1 and try to
browse
| > to it it seems to pull in the root's web.config file(which is in 2.0).
| >
| > {root_in_2.0}\web.config
| > {root_in_2.0}\{vdir_in_1.1}\web.config
| >
| > I should say they are different app pools.
| >
| > Appreciate it,
| > Cisco
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top