Monday, March 26, 2012

Mix version of .NET Framework Configuration in IIS

Our IIS is still running .NET 1.1 as its main .NET Framework. We have new
Web applications developed under .NET 2.0. How can we set up this new web
application to use .NET 2.0 framework without impacting the other older
applications on the same IIS?
I understand we can changed the IIS to use .NET 2.0 from its Web Site
properties but it will change all the web applications. I tried to change
the ASP.NET framework version in the new vitual directory for this new web
application without luck. It is dim out.
Please advise.
BrianHi Brian,
Create a new web site and have that the new site run .NET 2.0. Assuming
you are using Windows Server as the web server.
If you only have one web site (ie Windows XP) you should still be able to
change the individual web application. If the ASP.NET tab has a grayed
out I'm guessing that you haven't created a web application out of your
directory yet. On the directory Tab in the directory properties, click
the Create button.
If the directory is a registered web application but you still cannot
change version, try registering .net 2.0 with IIS again, by running
aspnet_regiis -i (NB, the aspnet_regiis.exe from the 2.0 directory), and
reset the IIS (resetiis).
On Thu, 05 Jan 2006 08:28:03 +0100, Brian Ho""
<BrianHo@.discussions.microsoft.com> wrote:

> Our IIS is still running .NET 1.1 as its main .NET Framework. We have
> new
> Web applications developed under .NET 2.0. How can we set up this new
> web
> application to use .NET 2.0 framework without impacting the other older
> applications on the same IIS?
> I understand we can changed the IIS to use .NET 2.0 from its Web Site
> properties but it will change all the web applications. I tried to
> change
> the ASP.NET framework version in the new vitual directory for this new
> web
> application without luck. It is dim out.
> Please advise.
> Brian
Happy Coding!
Morten Wennevik [C# MVP]
You can have 1.1 and 2.0 subwebs within the same website. Since I do most
of my development on an XP machine, which only has one active website, I
have two separate subwebs that I use, one for .NET 1.1 and one for 2.0. The
ASP.NET tab on the IIS Properties dialog can be used to make these changes
on subwebs.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
"Brian Ho" <BrianHo@.discussions.microsoft.com> wrote in message
news:B693DC30-6B78-4DE2-B73F-378940CE13CB@.microsoft.com...
> Our IIS is still running .NET 1.1 as its main .NET Framework. We have new
> Web applications developed under .NET 2.0. How can we set up this new web
> application to use .NET 2.0 framework without impacting the other older
> applications on the same IIS?
> I understand we can changed the IIS to use .NET 2.0 from its Web Site
> properties but it will change all the web applications. I tried to change
> the ASP.NET framework version in the new vitual directory for this new web
> application without luck. It is dim out.
> Please advise.
> Brian

0 comments:

Post a Comment