473,394 Members | 1,327 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,394 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 3289
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...
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: 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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.