473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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}\w eb.config
{root_in_2.0}\{ vdir_in_1.1}\we b.config

I should say they are different app pools.

Appreciate it,
Cisco
Jan 17 '06 #1
2 1113
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}\w eb.config
{root_in_2.0}\{ vdir_in_1.1}\we b.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 connectionstrin gs....).

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: AcYbMj1DA4VFDVC vTIa1qi/8J9tJJg==
| X-WBNR-Posting-Host: 24.167.83.157
| From: "=?Utf-8?B?Y2lzY28=?=" <ci***@noemail. noemail>
| References: <E6************ *************** *******@microso ft.com>
| 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************ *************** *******@microso ft.com>
| 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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGXA03.phx .gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3713 29
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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}\w eb.config
| > {root_in_2.0}\{ vdir_in_1.1}\we b.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
3302
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 sub-domain on my remote web server host domain IP. eg: http://72.3.5.6.0 (www.site1.com; www.site2.com) I would like to be able to use a...
4
3207
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 my root directory, but I can run asp files from the root directory of my website and I can run htm files from the subdirectories. If I run ...
4
2584
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 works. Any idea what I'm doing wrong? Or any other way to reference a dll? I know a solution is to copy the dll's into the GAC, but this server has...
5
3661
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 directory structure: FileManager (application name a.k.a. virtual directory?)
4
7562
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 subsequently be viewed on the site's pages. My hosting provider is requiring that any files my Web app writes get written to a folder that is above the app's...
4
7572
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. Thanks,
2
1256
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 be configured to always run from the root? i know you can launch it from command line, with /vpath:/ but that doesn't sound like it will...
8
1830
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 happily side by side in two virtual directories in the same IIS website. e.g. http://localhost/dotnetnuke and http://localhost/mobilephoneapp Now...
2
1602
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 web.config is in the root. Does my application's virtual have to be configured as an application. Will this cause any problems sharing things like...
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.