SymptomsDuring Exchange Server 2010 deployment, the installation process of the Exchange2010SMTP service package fails. The following error appears in the installation logs:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel...
CauseOn the WPE host with the .NET Framework 4.5 installed, the NET-HTTP-Activation and NET-Non-HTTP-Activation components are installed. For example, these components are installed by the Exchange Server Management Tools.
Resolution1. Log on to the WPE host as Domain Administrator.
2. Open a Command Prompt window.
3. In the window, go to the directory of the .NET Framework 4.5. For example, you may use the cd /d "%systemdrive%\Windows\Microsoft.NET\Framework64\v4.5*" command.
4. In the directory, execute the aspnet_regiis.exe -ir command.