473,385 Members | 1,445 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,385 software developers and data experts.

Does changing .NET version on one virtual directory force IIS to restart?

Hi, I have two different applications running on 2003 both in two
different vitrual directories. One application runs on the .NET
framework 1.1 whilst the other runs on 2.0.

If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?

?? Any links to further reading would be good.

Thanks
Markus

Nov 17 '06 #1
3 3288
re:
If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?
No.

IIS5 did not use Application Pools (they were introduced in IIS6).

IIS5 used Low (IIS process) and Medium (pooled) and High (isolated)
methods of differentiating between the equivalent of what in IIS 6.0
is called worker processes, by hosting apps in separate Dllhost.exe processes.

If your apps are running in the same IIS process ( Low ), they would
all start new worker threads, which is not the same as restarting IIS.

When an application is configured to run out-of-process ( medium or high ),
only the particular Dllhost.exe process in which the app is running would
be restarted, so the restart of IIS is -again- not required.

IIS 5 and 5.1 are both capable of running both ASP.NET 1.1 and ASP.NET 2.0
applications without the need to isolate them in their own processes.

Under IIS 6.0, since you have Application Pools, you can restart the app's Application
Pool, if the App is already in its own App Pool, instead of restarting the whole of IIS.

Any other App Pools don't need to be restarted.

If the App is in a pool shared with other apps, however, you might have to create
a different App Pool in order to be able to run your app, since you cannot
run ASP.NET 1.1 and ASP.NET 2.0 apps in the same App Pool.

That would force a restart of *those* two App Pools, but any other
App Pools can continue to run. IIS doesn't have to be restarted as a whole.

So, the answer is : no, IIS doesn't have to be restarted.

For good measure, though, I would restart IIS and give the server a fresh start.
I supose you're not switching apps from 1.1 to 2.0 too frequently, are you ?

;-)

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<Ma*******@gmail.comwrote in message news:11**********************@m73g2000cwd.googlegr oups.com...
Hi, I have two different applications running on 2003 both in two
different vitrual directories. One application runs on the .NET
framework 1.1 whilst the other runs on 2.0.

If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?

?? Any links to further reading would be good.

Thanks
Markus


Nov 17 '06 #2
Thanks Yuan, lol, no, we are not switching apps from 1.1 to 2.0 too
frequently :)
Thanks again
Mark

Juan T. Llibre wrote:
re:
If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?

No.

IIS5 did not use Application Pools (they were introduced in IIS6).

IIS5 used Low (IIS process) and Medium (pooled) and High (isolated)
methods of differentiating between the equivalent of what in IIS 6.0
is called worker processes, by hosting apps in separate Dllhost.exe processes.

If your apps are running in the same IIS process ( Low ), they would
all start new worker threads, which is not the same as restarting IIS.

When an application is configured to run out-of-process ( medium or high ),
only the particular Dllhost.exe process in which the app is running would
be restarted, so the restart of IIS is -again- not required.

IIS 5 and 5.1 are both capable of running both ASP.NET 1.1 and ASP.NET 2.0
applications without the need to isolate them in their own processes.

Under IIS 6.0, since you have Application Pools, you can restart the app's Application
Pool, if the App is already in its own App Pool, instead of restarting the whole of IIS.

Any other App Pools don't need to be restarted.

If the App is in a pool shared with other apps, however, you might have to create
a different App Pool in order to be able to run your app, since you cannot
run ASP.NET 1.1 and ASP.NET 2.0 apps in the same App Pool.

That would force a restart of *those* two App Pools, but any other
App Pools can continue to run. IIS doesn't have to be restarted as a whole.

So, the answer is : no, IIS doesn't have to be restarted.

For good measure, though, I would restart IIS and give the server a freshstart.
I supose you're not switching apps from 1.1 to 2.0 too frequently, are you ?

;-)

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<Ma*******@gmail.comwrote in message news:11**********************@m73g2000cwd.googlegr oups.com...
Hi, I have two different applications running on 2003 both in two
different vitrual directories. One application runs on the .NET
framework 1.1 whilst the other runs on 2.0.

If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?

?? Any links to further reading would be good.

Thanks
Markus
Nov 20 '06 #3
Thanks Juan, lol, no, we are not switching apps from 1.1 to 2.0 too
frequently :)
Thanks again
Markus

Juan T. Llibre wrote:
re:
If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?

No.

IIS5 did not use Application Pools (they were introduced in IIS6).

IIS5 used Low (IIS process) and Medium (pooled) and High (isolated)
methods of differentiating between the equivalent of what in IIS 6.0
is called worker processes, by hosting apps in separate Dllhost.exe processes.

If your apps are running in the same IIS process ( Low ), they would
all start new worker threads, which is not the same as restarting IIS.

When an application is configured to run out-of-process ( medium or high ),
only the particular Dllhost.exe process in which the app is running would
be restarted, so the restart of IIS is -again- not required.

IIS 5 and 5.1 are both capable of running both ASP.NET 1.1 and ASP.NET 2.0
applications without the need to isolate them in their own processes.

Under IIS 6.0, since you have Application Pools, you can restart the app's Application
Pool, if the App is already in its own App Pool, instead of restarting the whole of IIS.

Any other App Pools don't need to be restarted.

If the App is in a pool shared with other apps, however, you might have to create
a different App Pool in order to be able to run your app, since you cannot
run ASP.NET 1.1 and ASP.NET 2.0 apps in the same App Pool.

That would force a restart of *those* two App Pools, but any other
App Pools can continue to run. IIS doesn't have to be restarted as a whole.

So, the answer is : no, IIS doesn't have to be restarted.

For good measure, though, I would restart IIS and give the server a freshstart.
I supose you're not switching apps from 1.1 to 2.0 too frequently, are you ?

;-)

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<Ma*******@gmail.comwrote in message news:11**********************@m73g2000cwd.googlegr oups.com...
Hi, I have two different applications running on 2003 both in two
different vitrual directories. One application runs on the .NET
framework 1.1 whilst the other runs on 2.0.

If I change the framework version (via IIS admin ASP.NET tab) for
either application (Initally the 2.0 app was recognised by IIS as 1.1)
does this force IIS to restart?

?? Any links to further reading would be good.

Thanks
Markus
Nov 20 '06 #4

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

Similar topics

2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
9
by: Frank Rizzo | last post by:
I understand the basic premise: when the object is out of scope or has been set to null (given that there are no funky finalizers), executing GC.Collect will clean up your resources. So I have...
7
by: mustafac | last post by:
Hi, i am newbie to iis. I have an application which uses class libraries hosted on iis 5.1. Now, while my application running if i change any dlls and copy them to server's relevant virtual...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
8
by: Rak | last post by:
I am looking for a way to programatically change the .net version of the virtual directory that I am creating within a aspx page. As part of creating a new customer in my asp.net 2 application, it...
1
by: mm123 | last post by:
Hello All, I need to build a setup update which will update an existing installed version of my application. Going into further detail: I had developed an .msi using Visual Studio, that...
7
by: Chris Lasher | last post by:
Hi all, I have a simple script: --- #!/usr/bin/env python a = 1 b = 2
1
by: =?Utf-8?B?bWlrZXM=?= | last post by:
I am writing a C# Windows Application that will create virtual directories on our Win 2003 server machines. Using the System.DirectoryServices DirectoryEntry class I have had very little trouble...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.