简体   繁体   中英

How to run .NET Framework 4.0 website on IIS6 with existing framework 2.0 websites

Please tell me how to run .net framework 4.0 web sites on IIS6. we already have existing website on same server running on .net framework 2.0.

Create a separate application pool for your 4.0 applications and make that run 4.0 or even better have an application pool per application so you isolate them.

If you're upgrading you might want to have a look at this article on how to set the framework version from command line.

Right-click the website you want to run with .NET 4.0, switch to the tab "ASP.NET" and select 4.0.<build-version-depending-on-your-patch-level> from the "ASP.NET version" dropdown list.

If Framework 4.0 is not shown you need to run aspnet_regiis.exe from the 4.0 Framework directory to register .NET Framework 4.0 with IIS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM