cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nrussa
Level 2

Updating existing IIS application ASP.NET version

Greets,
I'm using InstallShield 2010 for installing a web application (using ASP.NET version 2.0.50727)
I've defined the IIS settings and it works fine when creating a new installation.

But I use it also to upgrade older versions of the application that used ASP.NET 1.1.

Whats the best way to accomplish it? (I'm using a InstallScript project)

Currently, after installing it, the default website ASP.NET version is updated (think its automatically done when installing .net framework 3.5), but the web application remains in 1.1.

Maybe there's a way to remove it from IIS before installing the upgrade?


Thanks
Labels (1)
0 Kudos
(1) Reply
nrussa
Level 2

Hello,
found a way to do it "manually". Here goes if anyone needs it:

For updating the ASP.NET version of an IIS application to 2.0, run this command:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -sn w3svc/1/root/APPLICATIONNAME

Where APPLICATIONNAME is the name of your application registered in IIS and 1 is the id of the website (usually 1 is default website)

Tested on XP, will test on other operative systems.


Hope it helps
0 Kudos