The Microsoft Exchange Active Directory Topology service on server localhost can't be contacted via RPC. Error 0x5.

jwhite109
jwhite109 used Ask the Experts™
on
Hello, OWA is giving me the above error. Below is the log.

This happens for all users whether they are logging in internally or externally. Please help.

Request
Url: https://mailserver:443/owa/auth/error.aspx
User host address: myip
OWA version: 14.1.355.2

Exception
Exception type: Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
Exception message: The Microsoft Exchange Active Directory Topology service on server localhost can't be contacted via RPC. Error 0x5.

Call stack
Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
Microsoft.Exchange.Clients.Owa.Core.OwaSettingsLoader.Load()
Microsoft.Exchange.Clients.Owa.Core.OwaApplicationBase.ExecuteApplicationStart(Object sender, EventArgs e)

Inner Exception
Exception type: Microsoft.Exchange.Data.Directory.ADTransientException
Exception message: The Microsoft Exchange Active Directory Topology service on server localhost can't be contacted via RPC. 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.ADSession.GetConfigurationNamingContext()
Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainerId(String fqdn, NetworkCredential credential)
Microsoft.Exchange.Clients.Owa.Core.Utilities.CreateADSystemConfigurationSessionScopedToFirstOrg(Boolean readOnly, ConsistencyMode consistencyMode)
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 0x5 (Access is denied) from HrGetServersForRole

Call stack
ThrowRpcException(Int32 rpcStatus, String message)
Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcException(Int32 rpcStatus, String routineName)
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)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Benjamin MOREAUProject Manager

Commented:
Check, if you have two network cards, the DNS config.

For test, disable the unused network card & try to restart IIS.

Author

Commented:
I have 4. All but the primary one are disabled.
Silly question: Did you check to see if all the automatic Exchange services are started, and if they are did you restart them to see if it helped?

Exchange 2007/2010 are both fickle beasts when it comes to AD - if they can't find a domain controller, they pout in the corner until you go and tell them that AD isn't ignoring them to be hurtful, it's just busy at the moment.

Author

Commented:
Yes. All services have been verified to be running.
This has been resolved. It was an error in a file. Installer error. MS fixed for us.

Author

Commented:
Resolved with Microsoft support.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial