Mix version of .NET Framework Configuration in IIS

G

Guest

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
 
M

Morten Wennevik

Hi 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).
 
C

Christopher Reed

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top