Link to home
Start Free TrialLog in
Avatar of jwhite109
jwhite109Flag for United States of America

asked on

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

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)
Avatar of Benjamin MOREAU
Benjamin MOREAU
Flag of France image

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

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

ASKER

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.
Yes. All services have been verified to be running.
ASKER CERTIFIED SOLUTION
Avatar of jwhite109
jwhite109
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Resolved with Microsoft support.