From: mhoneycutt on
I've got a new server running Windows 2003 R2 x64 SP1. With an install
of Exchange 2007. All was going well migrating mailboxes, from a
Windows 2003/Exchange 2003 server, which is retiring. Then an
installation of SQL (I know they shouldn't be on the same box) pretty
much hosed the 64-bit portions of IIS.

I think I have all the IIS functions back to normal. The only errors
I am receiving now are these two.

Event Type: Error
Event Source: MSExchange ADAccess
Event Category: General
Event ID: 2152
Date: 2/26/2007
Time: 2:32:01 PM
User: N/A
Computer: SVRLR01
Description:
Process w3wp.exe (PID=6252). An remote procedure call (RPC) request to
the Microsoft Exchange Active Directory Topology service failed with
error 5 (Error 5 from HrGetServersForRole). Make sure that the Remote
Procedure Call (RPC) service is running. In addition, make sure that
the network ports that are used by RPC are not blocked by a firewall.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Followed by:

Event Type: Error
Event Source: MSExchange OWA
Event Category: ADNotifications
Event ID: 54
Date: 2/26/2007
Time: 2:32:01 PM
User: N/A
Computer: SVRLR01
Description:
Failed to retreive the Active Directory System Configuration Session.
Exception message:
"Microsoft Exchange Active Directory Topology Service cannot be
contacted via RPC interface, error 0x5.".

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


The short version of the error that shows in IE is:

Outlook Web Access did not initialize. An event has been logged so
that the system administrator can resolve the issue. Please contact
technical support for your organization.


Microsoft Exchange Active Directory Topology Service cannot be
contacted via RPC interface, error 0x5.


The dump OWA give to copy to clipboard is:


Request
Url: https://svrlr01.------.---:443/owa/auth/error.aspx
User host address: 10.1.1.95

Exception
Exception type:
Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
Exception message: Microsoft Exchange Active Directory Topology
Service cannot be contacted via RPC interface, error 0x5.

Call stack

Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
Microsoft.Exchange.Clients.Owa.Core.Globals.InitializeApplication()
Microsoft.Exchange.Clients.Owa.Core.Global.ExecuteApplicationStart(Object
sender, EventArgs e)

Inner Exception
Exception type: Microsoft.Exchange.Data.Directory.ADTransientException
Exception message: Microsoft Exchange Active Directory Topology
Service cannot be contacted via RPC interface, error 0x5.

Call stack

Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetServersForRole(String[]
currentlyUsedServers, ADServerRole role, Int32 serversRequested,
Int32[]& mapping)
Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetConfigDCInfo(Boolean
throwOnFailure)
Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts()
Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext()
Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String
preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation,
ADObjectId& rootId, Int32& maxRetries)
Microsoft.Exchange.Data.Directory.ADSession.GetReadConnection(String
preferredServer, ADObjectId& rootId, Int32& maxRetries)
Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId,
String optionalBaseDN, ADObjectId readId, QueryScope scope,
QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1
properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate
arrayCreator)
Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId,
QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults,
IEnumerable`1 properties, CreateObjectDelegate objectCtor,
CreateObjectsDelegate arrayCtor)
Microsoft.Exchange.Data.Directory.ADSession.Find[TResult](ADObjectId
rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32
maxResults, IEnumerable`1 properties)
Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.Find[TResult]
(ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy
sortBy, Int32 maxResults)
Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.FindServerByFqdn(String
serverFqdn)
Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.FindLocalServer()
Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.InitializeConfigurationManager()
Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()

Inner Exception
Exception type: Microsoft.Exchange.Rpc.RpcException
Exception message: Error 5 from HrGetServersForRole

Call stack

Microsoft.Exchange.Rpc.ADTopology.ADTopoRpcClient.HrGetServersForRole(String[]
currentlyUsedServers, ServerRole role, Int32 serversRequested,
ServerInfo[]& suitableServers, Int32[]& mapping)
Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetServersForRole(String[]
currentlyUsedServers, ADServerRole role, Int32 serversRequested,
Int32[]& mapping)

Any help at all would be much appreciated. It appears that there are
not too many Exchange 07's in play now because postings appear to be
minimal.

From: mhoneycutt on
Although it is not helpful, I am glad that 50 - 60 people did not have
an answer.

From: s.koenig on
Hi,

try to remove the web.config located in C:\Inetpub\Wwwroot ... Maybe
there is an webapplication in front of OWA.

Sebastian

From: Simon Hodgson on
I've got exactly the same problem as this, has anyone got a solution?

Thanks


Simon

<mhoneycutt(a)pcassistance.com> wrote in message
news:1172526799.534232.289200(a)m58g2000cwm.googlegroups.com...
> I've got a new server running Windows 2003 R2 x64 SP1. With an install
> of Exchange 2007. All was going well migrating mailboxes, from a
> Windows 2003/Exchange 2003 server, which is retiring. Then an
> installation of SQL (I know they shouldn't be on the same box) pretty
> much hosed the 64-bit portions of IIS.
>
> I think I have all the IIS functions back to normal. The only errors
> I am receiving now are these two.
>
> Event Type: Error
> Event Source: MSExchange ADAccess
> Event Category: General
> Event ID: 2152
> Date: 2/26/2007
> Time: 2:32:01 PM
> User: N/A
> Computer: SVRLR01
> Description:
> Process w3wp.exe (PID=6252). An remote procedure call (RPC) request to
> the Microsoft Exchange Active Directory Topology service failed with
> error 5 (Error 5 from HrGetServersForRole). Make sure that the Remote
> Procedure Call (RPC) service is running. In addition, make sure that
> the network ports that are used by RPC are not blocked by a firewall.
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
> Followed by:
>
> Event Type: Error
> Event Source: MSExchange OWA
> Event Category: ADNotifications
> Event ID: 54
> Date: 2/26/2007
> Time: 2:32:01 PM
> User: N/A
> Computer: SVRLR01
> Description:
> Failed to retreive the Active Directory System Configuration Session.
> Exception message:
> "Microsoft Exchange Active Directory Topology Service cannot be
> contacted via RPC interface, error 0x5.".
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
> The short version of the error that shows in IE is:
>
> Outlook Web Access did not initialize. An event has been logged so
> that the system administrator can resolve the issue. Please contact
> technical support for your organization.
>
>
> Microsoft Exchange Active Directory Topology Service cannot be
> contacted via RPC interface, error 0x5.
>
>
> The dump OWA give to copy to clipboard is:
>
>
> Request
> Url: https://svrlr01.------.---:443/owa/auth/error.aspx
> User host address: 10.1.1.95
>
> Exception
> Exception type:
> Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
> Exception message: Microsoft Exchange Active Directory Topology
> Service cannot be contacted via RPC interface, error 0x5.
>
> Call stack
>
> Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
> Microsoft.Exchange.Clients.Owa.Core.Globals.InitializeApplication()
> Microsoft.Exchange.Clients.Owa.Core.Global.ExecuteApplicationStart(Object
> sender, EventArgs e)
>
> Inner Exception
> Exception type: Microsoft.Exchange.Data.Directory.ADTransientException
> Exception message: Microsoft Exchange Active Directory Topology
> Service cannot be contacted via RPC interface, error 0x5.
>
> Call stack
>
> Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetServersForRole(String[]
> currentlyUsedServers, ADServerRole role, Int32 serversRequested,
> Int32[]& mapping)
> Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetConfigDCInfo(Boolean
> throwOnFailure)
> Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts()
> Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext()
> Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String
> preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation,
> ADObjectId& rootId, Int32& maxRetries)
> Microsoft.Exchange.Data.Directory.ADSession.GetReadConnection(String
> preferredServer, ADObjectId& rootId, Int32& maxRetries)
> Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId,
> String optionalBaseDN, ADObjectId readId, QueryScope scope,
> QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1
> properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate
> arrayCreator)
> Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId,
> QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults,
> IEnumerable`1 properties, CreateObjectDelegate objectCtor,
> CreateObjectsDelegate arrayCtor)
> Microsoft.Exchange.Data.Directory.ADSession.Find[TResult](ADObjectId
> rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32
> maxResults, IEnumerable`1 properties)
> Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.Find[TResult]
> (ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy
> sortBy, Int32 maxResults)
> Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.FindServerByFqdn(String
> serverFqdn)
> Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.FindLocalServer()
> Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.InitializeConfigurationManager()
> Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
>
> Inner Exception
> Exception type: Microsoft.Exchange.Rpc.RpcException
> Exception message: Error 5 from HrGetServersForRole
>
> Call stack
>
> Microsoft.Exchange.Rpc.ADTopology.ADTopoRpcClient.HrGetServersForRole(String[]
> currentlyUsedServers, ServerRole role, Int32 serversRequested,
> ServerInfo[]& suitableServers, Int32[]& mapping)
> Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetServersForRole(String[]
> currentlyUsedServers, ADServerRole role, Int32 serversRequested,
> Int32[]& mapping)
>
> Any help at all would be much appreciated. It appears that there are
> not too many Exchange 07's in play now because postings appear to be
> minimal.
>