473,383 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

2.0 on root and 1.1 in virtual


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
Jan 17 '06 #1
2 1107
Well i found this

http://lab.msdn.microsoft.com/Produc...5-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

Jan 17 '06 #2
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=?=" <ci***@noemail.noemail>
| References: <E6**********************************@microsoft.co m>
| Subject: RE: 2.0 on root and 1.1 in virtual
| Date: Mon, 16 Jan 2006 22:50:01 -0800
| Lines: 22
| Message-ID: <38**********************************@microsoft.co m>
| 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!TK2MSFT NGXA03.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/Produc...x?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
|

Jan 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: | last post by:
Is it possible to include my remote web server path eg: m:/html/root/site1 | m:/html/root/site2 etc ....in virtual includes.... Thus eliminating the need to create duplicate INC files in each...
4
by: Ed | last post by:
Hello, I took a course in asp about 2 years ago and I was practicing with IIS 5.0. Then I put it down for a while. Now trying to get back to it. I can't run asp files from subdirectories of...
4
by: Michelle | last post by:
I have a website with 6 virtual directories under it who dont "see" the bin/ directory in the root. If I create a /bin directory in each virtual directory and then copy my dll's in there, it...
5
by: Leszek | last post by:
Hello, Could anybody explain what's a difference between a virtual directory and an application root under IIS? I'm a little bit confused. This is mu problem: Let's assume the following...
4
by: Jerry | last post by:
I'm having just a bit of trouble wrapping my brain around the task of working with folders that are above the site's root folder. I let users upload photos (.jpg/.gif files) which can...
4
by: Tee | last post by:
Hi, Can anyone tell me how to get the path of IIS root folder from coding? Eg: C:\Inetpub\wwwroot. I would like to detect it via coding as not everyone set it at the default folder. ...
2
by: Tim_Mac | last post by:
hi, for various reasons (navigational, relative paths etc.) i want the web site to always run from a root directory, i.e. http://localhost:3038/ and not http://localhost:3093/Virtual/ can cassini...
8
by: news.microsoft.com | last post by:
I have two completely distinct ASP.NET (2.0) web applications. They share no code, they have distinct web.config files, they don't even link to each other. During development, they have lived...
2
by: Chris | last post by:
I have a web app which sit in a virtual but is a sub folder of the web tree. I thought if I put the web.config in the virtual it would read from there but it seems to only accept it if the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.