Prerequisites in IIS for installing the SCOM 2012 Web Console

Web Server (IIS) role with the follow server role services:
(http://technet.microsoft.com/en-us/library/hh205990.aspx#BKMK_RBF_WebConsole)

Static Content
Default Document
Directory Browsing
HTTP Errors
HTTP Logging
Request Monitor
Request Filtering
Static Content Compression
Web Server (IIS) Support
IIS 6 Metabase Compatibility
ASP.NET
Windows Authentication

If you already installed .net 4.0 then you will need to run this command to register IIS with .net 4.0

c:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r

Exchange 2010 service ‘/Autodiscover/autodiscover.xml’ error: Event ID 3, WebHost failed to process a request.

Error datas:

Log Name: Application
Source: System.ServiceModel 3.0.0.0
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
User: SYSTEM
Computer: SZERVERNAME
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/32001227
Exception: System.ServiceModel.ServiceActivationException: The service ‘/Autodiscover/autodiscover.xml’ cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Parameter name: item. —> System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Parameter name: item
at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
— End of inner exception stack trace —
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 7440

Solution:

IIS look at the bindings, and you should clarify. For example:

Type: http – Hostname: FQDN_SERVERNAME – Port: 80 – IP: *
Type: http – Hostname: blank – Port: 80 – IP: *
Type: http – Hostname: blank – Port: – IP: 127.0.0.1
Type: https – Hostname: blank – Port: 443 – IP: *
Type: https – Hostname: blank – Port: 443 – IP: 127.0.0.1

Not need all (most), just enough to cover the following:

Type: https – Hostname: blank – Port: 443 – IP: *
Type: http – Hostname: blank – Port: 80 – IP: *

Manually remove Exchange 2010 Virtual Directory

  • Open IIS manager, and remove the Autodiscover Virtual Directory.
  • Remove the Autodiscover objects in AD:
  • Open ADSIEDIT.msc:
    Configuration–>CN=Services–>CN=Microsoft Exchange–>CN=Organization–>CN=Administrative Groups–>CN=Exchange Administrative Groups–>CN=Servers–>CN=Exchange–>CN=Protocols–>CN=HTTP
  • Check whether the CN=Autodiscover (Default Web Site) is present. If so, please remove it.
  • Delete the autodiscover in metabase: