Microsoft Knowledge Base Email Alertz

(324393) - This step-by-step article describes how to install the Microsoft .NET Framework in a Microsoft Cluster Service (MSCS) configuration to run ASPX pages or Microsoft ASP.NET applications. This article assumes that you already have Internet Information...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 324393 - Last Review: March 13, 2007 - Revision: 5.2

How to install the .NET Framework on a cluster

This article was previously published under Q324393

On This Page

SUMMARY

This step-by-step article describes how to install the Microsoft .NET Framework in a Microsoft Cluster Service (MSCS) configuration to run ASPX pages or Microsoft ASP.NET applications.

This article assumes that you already have Microsoft Internet Information Services (IIS) installed and working on your clustered servers.

For more information about how to cluster IIS, click the following article number to view the article in the Microsoft Knowledge Base:
248025  (http://kbalertz.com/Feedback.aspx?kbNumber=248025/ ) How to configure clustered IIS virtual servers on Windows 2000 Advanced Server
To see a list of what is not supported in an IIS MSCS configuration, see the "IIS and MSCS Implementation" section of the following Microsoft Web site:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/deploy/confeat/webclust.mspx (http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/iis/iis5/deploy/confeat/webclust.asp)

Installation procedures

  1. Disable any real-time antivirus software on the computer. We recommend that you stop all these services for your particular antivirus software, including any real-time scanning.
  2. Use Cluster Administrator to move all the groups to node 1 that are not already on that node. To do this, right-click the groups that you want to move, and then click Move Group.
  3. Take all groups that contain IIS Server instances offline. If the group contains the shared disk resource, you may receive an error message that states that you cannot take the quorum resource offline. You can ignore this message.

    Note Taking these groups offline prevents the cluster server from failing over during the installation of the .NET Framework because it involves an IISRESET command.
  4. Download the .NET Framework version that you want. To do this, visit the following Microsoft Web site:
    http://msdn2.microsoft.com/en-us/netframework/aa569263.aspx (http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/829/msdncompositedoc.xml)
  5. Install the .NET Framework on node 1.
  6. Bring all the groups back online. Make sure that the IIS instances also come online.
  7. Move your groups to the second node.
  8. Again, take all groups on node 2 that contain IIS Server instances offline. You may receive an error message that states that you cannot take the quorum resource offline. You can ignore this message.
  9. Install the .NET Framework on node 2.
  10. Bring all the groups back online and make sure that all IIS instances come online.
  11. Move the groups back and forth between nodes to make sure that the failover is working correctly.

Configure the ASP.NET account

The framework has now been installed correctly. Next, you must configure the account that the ASP.NET pages will run under. To start ASP.NET worker processes in an MSCS configuration, we recommend that you create a common account between the two nodes to run your applications under. You can change this under the <processModel> section of the Machine.config file. This procedure resembles the steps to set up the common IUSR_machinename and IWAM_machinename accounts.

For more information about the steps to set up the common IUSR_machinename and IWAM_machinename accounts, click the following article number to view the article in the Microsoft Knowledge Base:
249603  (http://kbalertz.com/Feedback.aspx?kbNumber=249603/ ) Using IISSync to synchronize clustered Web sites on Windows 2000 Advanced Server
Note Before you run IISSync between the two nodes, make sure that the hotfix that is listed in the following Microsoft Knowledge Base article is installed so that the process finishes successfully:

326095  (http://kbalertz.com/Feedback.aspx?kbNumber=326095/ ) COMREPL utility does not respond when you install Microsoft .NET Framework
If you install MSCS on Microsoft Windows 2000 domain controllers, you may experience problems when you start the ASP.NET worker processes.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
315158  (http://kbalertz.com/Feedback.aspx?kbNumber=315158/ ) FIX: ASP.NET does not work with the default ASPNET account on a domain controller
  1. Create a new domain account to use for the ASP.NET processes such as ASPNET. If you have not already done this, grant the appropriate permissions for this account.

    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    317012  (http://kbalertz.com/Feedback.aspx?kbNumber=317012/ ) Process and request identity in ASP.NET
    Note When you install the .NET Framework on member servers, an ASPNET account is created locally on each node. Delete these accounts and use the domain account to maintain consistency between both nodes when a failover occurs.
  2. On node 1, open the Machine.config file in Notepad. This file is located in the following folder:
    Microsoft.NET\Framework\Version\Config
    Note In this path, Version is the version of the .NET Framework that you installed in the "Installation procedures" section.
  3. In the <processModel> section of the Machine.config file, change the userName attribute and the password attribute to the user name and the password of the account that you created in step 1.

    Note Before you change this information, change the ASPNET password to something that is known. The installation of the .NET Framework generates a random password that prevents .aspx pages from working if you do not use a password such as the following:
    userName="DomainName\ASPNET" password="ASPNETpassword"
  4. Change the Machine.config file on node 2 also to reflect the same information that you used in step 3, and then save the file.
  5. Save the changes to the Machine.config file.
  6. Open an .aspx page to test for functionality on node 1.
  7. Do a failover on the group that contains your IIS server instances, and then open the same .aspx page on node 2.
You have now successfully configured the ASP.NET account on your cluster servers.

APPLIES TO
  • Microsoft Internet Information Services 5.0
  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
Keywords: 
kbhowtomaster KB324393
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate