.NET Tip: Run ASP.NET 1.1 with ASP.NET 2.0 on Windows 2003 Atlanta GA

The .NET Framework 2.0 gets very fussy when you try to run both ASP.NET 1.1 and ASP.NET 2.0 sites in the same application pool. Learn how to support both versions on the same Windows 2003 machine.

Local Companies

Count5 Sales Force Alignment Solutions
404-961-7350
1800 Peachtree Street Suite 444
Atlanta, GA
A.D.A.M., Inc
404-6042-757
10 10th Street NE
Atlanta, GA
SecuredPay Solutions, Inc.
404-324-3449
640 MCGILL PL NE
Atlanta, GA
VIA Networks
(702)2738210
3565 Piedmont Rd Bldg 1 Ste 525
Atlanta, GA
Arke Systems
404-812-3123
3400 Peachtree Road
Atlanta, GA
Ingenium Software
770-394-7724
1851 Peeler Road
Atlanta, GA
Ingenium Software
770-394-7724
1851 Peeler Road
Atlanta, GA
Ingenium Software
770-394-7724
1851 Peeler Road
Atlanta, GA
Inside Corp
770-828-0100
4279 Roswell Rd
Atlanta, GA
Manhattan Associates
(770) 955-7070
2300 Windy Ridge Parkway
Matthews, NC

provided by: 
Originally published at Internet.com


As a Web-hosting provider, I'm always trying to keep up with the latest technologies while simultaneously supporting older technologies. In the case of ASP.NET, the majority of my clients use 1.1, but some are starting to dabble in 2.0 as well. I've discovered that supporting both versions on the same Windows 2003 machine requires a few steps.

The first thing you need to do is install the .NET Framework 2.0 on your Web server. You can obtain the redistributable files from Microsoft's Web site for free. They currently have 32-bit and 64-bit versions available, as well as a separate version for the IA64 platform. Be sure to get the right one, based on the version (32-bit vs. 64-bit) of Windows 2003 you're running.

During the install, you'll have the option of switching any existing Web sites to the .NET Framework 2.0, which I would not recommend doing right away. Switching an ASP.NET 1.1 site to ASP.NET 2.0 will cause the site to run improperly, as the versions are quite different from each other.

Once you've installed the framework, open the Internet Services Manager in the Administrative Tools menu group. You need to complete the following three tasks to configure an application for the .NET Framework 2.0: 1. Create a new application pool to isolate .NET Framework 2.0 applications from .NET Framework 1.1 applications. You can use the settings from the default application pool for starters. In my servers, the pools run under system authority because each Web site is isolated using separate security accounts. However, you may want to use a lower authority level. 2. In the properties for a site running the .NET Framework 2.0, change the application pool to the new pool you created. Use the Home Directory tab of the properties dialog for the site you are changing. 3. On the new ASP.NET tab, select 2.0. This will change all the extension mappings to use the 2.0 equivalents for processing .aspx and so forth. The ASP.NET tab is added to the Internet Services Manager when you install the .NET Framework 2.0 on your server. If you don't see that tab, try rebooting or re-installing the framework.

After you've done these steps, you may get the dreaded red Server Application Error message because .NET gets very fussy when you try to run both ASP.NET 1.1 and ASP.NET 2.0 sites in the same application pool. It typically will show this message if you've missed one of the steps above or if someone tries to load a site while you're making the setting changes. The easiest solution is to run iisreset from the command line.

About the Author

Eric Smith is the owner of Northstar Computer Systems, a Web-hosting company based in Indianapolis, Indiana. He is also a MCT and MCSD who has been developing with .NET since 2001. In addition, he has written or contributed to 12 books covering .NET, ASP, and Visual Basic.

Author: Eric Smith

Read article at Internet.com site

Featured Local Company

Count5 Sales Force Alignment Solutions

Count5 is a software company that improves a company's top line by driving accountability to the front line.

404-961-7350
1800 Peachtree Street Suite 444
Atlanta, GA
Sales Force Alignment

Count5 is a software company that improves a company's top line by driving accountability to the front line. Count5's sales force alignment solution - Q OnDemand - raises the success rate of sales strategies, CRM and service initiatives by improving alignment of the work force with change, and for the first time, by quantifying alignment so problems can be addressed by managers early before performance suffers. Q is a unique communications tool that automates ongoing reinforcement and coaching to frontline employees on a recurring schedule while tracking user participation and retention for managers. This patent-pending process rapidly improves alignment with new initiatives, strategy and messaging. Count5® was recently named by the Technology Association of Georgia (TAG) as one of Georgia's most innovative technology companies.

Available OnDemand, Q™ can be implemented to drive your next change initiative in less than 30 days.

For more information, call us at (404) 961-7350 or visit us online at www.count5.com.

Related Local Events
Astd Atlanta Technology Based Learning Sig Event 4Th Annual Elearning Excellence Awards
Dates: 12/10/2009 - 12/10/2009
Location: Knowledge Development Centers
Atlanta, GA
View Details

TAG CRM
Dates: 11/12/2009 - 11/12/2009
Location: Oracle - Building 500
Atlanta, GA
View Details

Southeast User Group Leader Summit
Dates: 10/24/2009 - 10/24/2009
Location: Microsoft Alpharetta
Alpharetta, GA
View Details

TAG Excalibur Awards 2009
Dates: 10/23/2009 - 10/23/2009
Location: Atlanta Buckhead Marriott
Atlanta, GA
View Details

Astd Atlanta Technology Based Learning Sig Event Scorm
Dates: 10/6/2009 - 10/6/2009
Location: Knowledge Development Centers
Atlanta, GA
View Details