aspnet_regiis

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a server running Windows 2003. Within IIS I have 2 websites defined.
One is for Sharepoint Team Services and the other for custom applications. I
have a few new applications using .NET 2.0 which I would like to deploy onto
that server, but do not want to upgrade to .NET 2.0 for all apps
(aspnet_regiis -i) Is there an easy way to upgrade just the virtual
directory that my app is running in? In this case the the website is named
Internal Applications and the subdirectory is named LicenseTracker. Thanks
for any help you may be able to offer.
 
Welcome to the MSDN newsgroup.

As for the window 2003/IIS6, it can support multiple IIS sites and mulitple
version of ASP.NET web applications can be deployed side by side in IIS
(either in different IIS sites or in single IIS site). After we installed
net framework 2.0, the IIS's management tool will add an additional
"ASPNET" tab for configure ASP.NET settings(include version, config
settings) for site or application virutal dir, we can swtich it to let a
site or application virtual dir to run under certain version of ASP.NET.
However, due to some problem when deploying multiple version ASP.NET
applications on single server, here are some of my suggestion:

1. If possible, we should try best to deploy different version of ASP.NET
applications in different IIS site, also ASP.NET1.1 application should use
separate application pool from ASP.NET 2.0 application.

2. If #1 is not possible and we have to put multiple version of ASP.NET
applications in single IIS site, make sure that no 2.0 application is
deployed as parent web application( one app's app virtual dir is parent
virtual dir of another) of any 1.1 web app. This is becaue ASP.NET web
application's web.config will inherit the setting from any parent
application virtual dir's web.config, and ASP.NET 2.0 web.config add many
new configure elements which are not recognized by 1.1, thus in such
scenario there may occurs error at runtime. Also, be sure to separate 1.1
application's application pool from 2.0 applications.

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top