Link to home
Start Free TrialLog in
Avatar of cbapartnership
cbapartnershipFlag for United Kingdom of Great Britain and Northern Ireland

asked on

AD server is not available - Exchange 2013 ECP

Hi

I just installed Exchange 2013 on a 2012 R2 member server part of a domain with a 2012 R2 DC. The DC has AD DS installed (obviously).

The install appeared to complete correctly however when I go to http://servername/ecp, I get the following message. Also trying to open EMT gives a snap-in error.

Any advice? I used this version of Exchange 2013 - https://www.microsoft.com/en-us/download/details.aspx?id=47679

Server Error in '/ecp' Application.
--------------------------------------------------------------------------------

Active Directory server  is not available. Error message: Active directory response: The LDAP server is unavailable. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ServiceModel.FaultException`1[[Microsoft.Exchange.Data.Directory.TopologyDiscovery.TopologyServiceFault, Microsoft.Exchange.Data.Directory, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Active Directory server  is not available. Error message: Active directory response: The LDAP server is unavailable.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[FaultException`1: Active Directory server  is not available. Error message: Active directory response: The LDAP server is unavailable.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14579646
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +622
   Microsoft.Exchange.Data.Directory.TopologyDiscovery.ITopologyClient.GetServersForRole(String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested, Boolean forestWideAffinityRequested) +0
   Microsoft.Exchange.Data.Directory.<>c__DisplayClass10.<InternalServiceProviderGetServersForRole>b__f(IPooledServiceProxy`1 proxy) +152
   Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception) +406

[ADTransientException: The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details Active Directory server  is not available. Error message: Active directory response: The LDAP server is unavailable..]
   Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.GetConfigDCInfo(String partitionFqdn, Boolean throwOnFailure) +507
   Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts(String partitionFqdn) +88
   Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext(String partitionFqdn) +86
   Microsoft.Exchange.Data.Directory.ADSession.GetConfigurationNamingContext(String partitionFqdn) +243
   Microsoft.Exchange.Data.Directory.ADDataSession.GetNamingContext(ADNamingContext adNamingContext) +601
   Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope) +672
   Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId& rootId, ADRawEntry scopeDeteriminingObject) +185
   Microsoft.Exchange.Data.Directory.ADDataSession.InternalFind(ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects) +3568
   Microsoft.Exchange.Data.Directory.SystemConfiguration.<>c__DisplayClass53.<FindServerByFqdn>b__52() +192
   Microsoft.Exchange.Data.Directory.Diagnostics.ADScenarioLog.InvokeWithAPILog(DateTime whenUTC, String name, Guid activityId, String implementation, String caller, Func`1 action, Func`1 getDcFunc) +239
   Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.InvokeWithAPILogging(Func`1 action, String memberName) +501
   Microsoft.Exchange.Data.Directory.SystemConfiguration.Server.GetLocalServerClientAccessArray() +116
   Microsoft.Exchange.HttpProxy.Common.PerfCounters.UpdateHttpProxyPerArrayCounters() +12
   Microsoft.Exchange.HttpProxy.ProxyApplication.Application_Start(Object sender, EventArgs e) +348

[HttpException (0x80004005): The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details Active Directory server  is not available. Error message: Active directory response: The LDAP server is unavailable..]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12600621
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details Active Directory server  is not available. Error message: Active directory response: The LDAP server is unavailable..]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12617668
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12457285
 

Open in new window

Avatar of Scott C
Scott C
Flag of United States of America image

Make sure all of the Exchange services are started.

There isn't anything blocking traffic between the Exchange server and the DC is there?  (firewalls, load balancers, etc.)
Avatar of cbapartnership

ASKER

All services are started and there isn't anything blocking, disabled the firewall to test and it still fails.
Based on the error message you have posted it is clear that "something" is blocking communication. Can you ping via IP/DNS Name? If you are on your DC can you ping the Exchange server by IP/Name? Have you checked the logs on the Exchange server to see if there is any other events which would point to why the communication is being blocked?

Will.
I can ping the opposite server via IP & DNS from both servers.

Where do I find the logs?
ASKER CERTIFIED SOLUTION
Avatar of cbapartnership
cbapartnership
Flag of United Kingdom of Great Britain and Northern Ireland 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
It seems that the AD and Exchange communication is not working properly.. Kindly first reboot the AD servers and let is come up. Once the AD is up then reboot Exchange server and wait untill the services are up on exchange, verify all the services are running specialy MS Exchnage AD topolgy service.
No other solution resolved the problem and as stated in my answer, it was because the Exchange Server's IP had reverted back to DHCP.