Answered by:
Deploy 2 framework application in IIS 6.0

Question
-
User-550155107 posted
hi all
i am running 2 appplication in which one is developed in framework 2.0 and another is 4.0. if i set Asp.net version 4.0 in default website node application in 4.0 is working fine , but 2.0 application is not workinh vice versa.
please help me out how to maintaine both in IIS 6.0.
Thanks in advance.
Tuesday, April 2, 2013 5:39 AM
Answers
-
User-1716253493 posted
http://www.codeproject.com/Articles/18223/Versions-of-the-NET-Framework-and-the-IIS6-Applica
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, April 2, 2013 10:20 AM -
User-166373564 posted
Hi,
As mentioned above, if we have more than one Virtual Directory on that site, you can choose for each one of them to run on a different version of the .NET Framework.
At the same time you could also refer the article in MSDN library that host Web Applications That Use Different Versions of the .NET Framework on the Same Server, and check whether it is helpful to you,
Host Web Applications That Use Different Versions of the .NET Framework on the Same Server
hope it helps you,
With regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, April 9, 2013 3:49 AM
All replies
-
User-1716253493 posted
You need have sparate app_pool each application, dont use same application pool.
Create new app_pool, dont use default pool for all applications
Tuesday, April 2, 2013 5:57 AM -
User-550155107 posted
i created 2 application pool, i mapped application pool to application, but how to map framework to application pool.
Tuesday, April 2, 2013 6:06 AM -
User-550155107 posted
can help please
Tuesday, April 2, 2013 10:04 AM -
User-1716253493 posted
http://www.codeproject.com/Articles/18223/Versions-of-the-NET-Framework-and-the-IIS6-Applica
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, April 2, 2013 10:20 AM -
User-550155107 posted
all is well , but in default website in IIS under ASP.net which version i want to set.
Wednesday, April 3, 2013 1:08 AM -
User-1716253493 posted
if you have app at root (site), depend your site applicationWednesday, April 3, 2013 1:13 AM -
User-550155107 posted
my all application running under same default site only, my hierarchy like this.
Websites
Default web site
Application1(framewrok 2.0)
Application2(framework 4.0)
in default web site properties if i set asp.net as 4.0 , application 2 is working and vice versa, but bith the application different application.
Wednesday, April 3, 2013 1:27 AM -
User-1716253493 posted
Have you create application pool? and make app1 and app2 has deferent application pool?
If app1 and app2 has deferent app pool, and you configure net version of the app1 and app2, vice versa will not happen.
Wednesday, April 3, 2013 2:26 AM -
User-550155107 posted
i did the same , i mapped the application pool to the specific application , but in my default web site properties under asp.net the version 2.0 so only 2.0 framework application working fine. if o chnaged to 4.0 only 4.0 framework application fine.
both are not working.
help me out please.
Wednesday, April 3, 2013 2:37 AM -
User-550155107 posted
i want to create 2 different website or in one website with differernt virtul directory with seperate application pool can i run??
Wednesday, April 3, 2013 3:08 AM -
User-550155107 posted
anything i want to do in IIS.
Wednesday, April 3, 2013 7:01 AM -
User-1716253493 posted
deferent app pool aech app, no problem deferent virdir or siteWednesday, April 3, 2013 8:18 AM -
User-640198325 posted
Create separate application pool for the individual application which is having two different .net framework....
Wednesday, April 3, 2013 8:33 AM -
User381600086 posted
unlike IIS 7.5 we do not have separate App pool menu.In iis 6.0 when you have parent website and its subsequent virtual directory.It inherits app pool from parent. In such cases you need to explicitly create app pool for virtual directory .
Wednesday, April 3, 2013 8:46 AM -
User71929859 posted
Hello,
i am running 2 appplication in which one is developed in framework 2.0 and another is 4.0. if i set Asp.net version 4.0 in default website node application in 4.0 is working fine , but 2.0 application is not workinh vice versa.
please help me out how to maintaine both in IIS 6.0.
Please check the below article. It will help you.
http://www.codeproject.com/Articles/18223/Versions-of-the-NET-Framework-and-the-IIS6-Applica
Wednesday, April 3, 2013 12:17 PM -
User-550155107 posted
still its inheriting the property of Default website, i created application pool and i mapped everything, but virtual directory inherting properties of default website only. what shall i do ???
please help me out,
Friday, April 5, 2013 1:50 AM -
User-1716253493 posted
You should configure Virtual Directory as an application and set deferent app pool each other.
After you sure that each application has deferent app pool, then configure each virtual directory asp.net version.
Friday, April 5, 2013 3:00 AM -
User-550155107 posted
i did the same but still virtual directory inherititng Asp .net property from default website only.
Friday, April 5, 2013 3:10 AM -
User-166373564 posted
Hi,
As mentioned above, if we have more than one Virtual Directory on that site, you can choose for each one of them to run on a different version of the .NET Framework.
At the same time you could also refer the article in MSDN library that host Web Applications That Use Different Versions of the .NET Framework on the Same Server, and check whether it is helpful to you,
Host Web Applications That Use Different Versions of the .NET Framework on the Same Server
hope it helps you,
With regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, April 9, 2013 3:49 AM