How to fix error code 0x8007077f and Event ID 2142 on Exchange 2010 / 2013

Unable to start the Exchange 2010 or Exchange 2013 Services and it just gets stuck at the Starting status. You restart the Server multiple times but the status is still the same.

Also, when you try to connect to the exchange management console, you are unable to connect and when trying from Exchange Management Shell you get below error in the screenshot.

Event ID 2142: Process STORE.EXE (PID=6276)

Well, your clue to fix the issue is in below screenshot as well which i have highlighted with yellow box which says 1. “The computer is not in a site.” 2. “WARNING: No Exchange servers are available in the Active Directory site. Connecting to exchange server in another Active Directory site.”

Screenshot of the Event Viewer Error Message:

Event ID 2142: Process STORE.EXE (PID=6276)
You may also see Event ID: 9100 repeatedly Spamming the Event Viewer Application Logs with description: Service MSExchangeMailSubmission. The local Exchange server does not belong to any Active Directory site. [ Please See below Screenshot]
Event ID: 9100

Steps to fix error code 0x8007077f

Before starting the troubleshooting, We need to check if you or anyone in your team performed below changes in your environment:

  1. Did you recently decommissioned the domain controllers or let’s say old domain controllers and migrated the services to new domain controllers?
  2. Is Exchange Server DNS Pointing to the correct DNS Servers?
  3. Is AD Sites and Services is configured and assigned a Site for its IP Subnet?

To further troubleshoot this issue. Please check below:

  • Check the IP Address of the Exchange Server.
  • Check if the Subnet has been created for this IP Range in which Exchange server resides. e.g. if the IP address of the Exchange Server is Subnet in AD Sites and Services should exist for this. e.g.
  • If Subnet does not exist, then create the new subnet and associate a nearest Site which contains a Domain controller
  • Please check below screenshots to create and associate a Site to the Subnet.
  • Once you associate your Exchange Server Subnet IP to a Site in AD Sites and Services. Replicate this across all your domain controllers. You can wait for automatic replication to kick in or you can force it using repadmin /syncall /Aped command as well.
Event ID 2142: Process STORE.EXE (PID=6276)

Leave a Comment