Sunday, July 26, 2009

Service 'MSExchangeTransport' failed to reach status 'Running' on this server.

Issue:

While you install Exchange Server 2007 SP1 or Exchange Server 2010 Beta on Windows 2008, you might get error while installing the Hub Transport role:

Hub Transport Role Failed
Error:The execution of: "$error.Clear(); if ($RoleStartTransportService) { start-SetupService -ServiceName MSExchangeTransport }", generated the following error: "Service 'MSExchangeTransport' failed to reach status 'Running' on this server.".
Service 'MSExchangeTransport' failed to reach status 'Running' on this server.


or

Hub Transport Role Failed
Error:The execution of: "$error.Clear(); install-ExsetdataAtom -AtomName SMTP -DomainController $RoleDomainController", generated the following error: "An error occurred with error code '2147504141' and message 'The property cannot be found in the cache.'.".
An error occurred with error code '2147504141' and message 'The property cannot be found in the cache.'.

Resolution:

Aparently, this normally happens when you disable IPv6 in Local Area Connection.
This is due to the behavior of IPv6 in Windows Server 2008, when you disable IPv6 in Local Area Connection on Windows 2008 server.

Either enable IPv6. Or else, if you wish to disable IPv6, you have to make note that IPv6 is not disabled on tunnel interfaces if you disable IPv6 in Local Area Connection. By default, IPv6 is enabled in Windows Server 2008. If you want to disable IPv6 for any reasons, you have to use Registry Editor to completely disable IPv6.
To completely disable IPv6 on a Windows Server 2008-based computer yourself, follow these steps:
Open Registry Editor.
Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
In the details pane, click
New, and then click DWORD (32-bit) Value.
Type
DisabledComponents, and then press ENTER.
Double-click
DisabledComponents, and then type ffffffff in Hexadecimal or 4294967295 in Decimal.


Note: If the setup still fails, remove IPv6 entry from the hosts file available at %systemroot%\system32\drivers\etc

----------------------------------------------------------------------------------------