Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

Free Fix Event ID 1311

Event ID 1311 KCC errors: site links that cannot build a working topology

12 min read Updated October 4, 2026 Windows Server: AD, DNS & Group Policy

Fix it now

Event ID 1311 says the consistency checker has decided one of two things: there is not enough physical connectivity published in Sites and Services to build a spanning tree connecting all the sites holding that partition, or replication cannot be performed with one or more critical servers. Work out which before changing any site link.

Run these on a domain controller holding the intersite topology generator role, in an elevated Command Prompt

repadmin /showism
repadmin /showreps
repadmin /failcache
dcdiag /test:intersite /e /q
dcdiag /test:connectivity /e /q
  1. Read repadmin /showism first. It prints the site connectivity matrix for the transport as cost : replication interval : options, and an entry of -1:0:0 marks a site the transport cannot reach.
  2. A site showing -1:0:0 is either not in a site link, hosts no domain controllers, or does not use that replication protocol. Those are three different fixes.
  3. Check whether Bridge all site links is selected on the IP transport, and whether your network really is fully routed. If it is enabled on a network that is not fully routed, either make the network routed or turn bridging off and model the routing with site link bridge objects.
  4. Look for preferred bridgeheads that should not be there: in Sites and Services, open the domain controller’s properties and check the General tab for “The server is a preferred bridgehead server for the following transports”. Remove the assignment unless you have a firewall reason for it.
  5. After any change, wait two times the longest replication interval in the forest before deciding whether it worked.

That waiting period is the step people skip, and it is why so many of these get declared unfixed and then changed again. The topology does not converge instantly.

If 1311 stops appearing after two cycles, you are done. The next section explains what the KCC is working from and the nine documented reasons it gives up.

Why it happens

The KCC runs on every domain controller and builds the connection objects that drive replication inside a site. One DC per site additionally holds the intersite topology generator role and builds the connections that cross site boundaries. Both work purely from what is written in the Configuration partition: sites, subnets, site links, site link bridges and bridgehead assignments. Neither discovers anything about your network by observation.

Event 1311’s own wording carries the ambiguity you have to resolve. It says the consistency checker has determined that either there is not enough physical connectivity published via Active Directory Sites and Services Manager to create a spanning tree connecting all the sites containing the partition, or replication cannot be performed with one or more critical servers, most often because the servers are unreachable. Those are a design problem and a server problem, and they need completely different work.

Those last four are the ones that catch people, because in all of them the topology on paper is fine. A preferred bridgehead that does not host the partition being replicated is a working server that cannot do the job it has been nominated for, and nothing in Sites and Services flags it.

A site belongs to no site link

You have this one if repadmin /showism shows -1:0:0 for that site, and no link under Inter-Site Transports lists it as a member.

  1. Open the site link that should carry the site, add it to the members list, and set a cost and schedule that reflect the real circuit.
  2. If no existing link is appropriate, create one containing this site and its hub.
  3. Wait two times the longest replication interval in the forest and recheck the log.
  4. Re-run repadmin /showism and confirm the -1:0:0 entry has gone.

A site created ahead of a hardware delivery logs this repeatedly until it has a link. Create both at once.

Bridging is on and the network is not fully routed

You have this one if Bridge all site links is selected, and there are pairs of sites that genuinely cannot reach each other.

  1. Check the Options attribute on the IP transport under CN=IP,CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=<forest root>, or read the Bridge all site links box on the transport’s properties.
  2. If the network really does route everywhere, leave bridging on and let the topology generator work out the paths.
  3. If it does not, turn bridging off and model the routing explicitly with site link bridge objects grouping the links that can reach each other.
  4. Create the necessary site links and bridges, then wait two times the longest replication interval.

Turning bridging off is legitimate where not every site can route to every other, but you then own the job of describing the routing accurately.

A preferred bridgehead is wrong, offline, or overloaded

You have this one if The topology is correct on paper and the KCC still complains, or one site’s replication depends on a server somebody nominated years ago.

  1. Find them: in Sites and Services, open a domain controller’s properties and look at the General tab for “The server is a preferred bridgehead server for the following transports”.
  2. Remove IP or SMTP from that box and let the topology generator choose, unless you have a specific firewall reason to pin one.
  3. If you must pin one, nominate a server that holds every partition which has to cross the link, and nominate a second for redundancy.
  4. Check for overload as well: a partner showing “at never” in repadmin /showreps points at a source DC that cannot keep up.
  5. Wait two times the maximum replication interval in the forest after removing an assignment.

A manually assigned bridgehead does not fail over. That is precisely what you trade away by setting one, and it is invisible until the day it matters.

The KCC has already routed around a failure

You have this one if 1311 recurs on a fifteen-minute rhythm and replication is otherwise working.

  1. Recognise the pattern: the KCC has built a different path around a site-to-site connection failure and retries the failing connection every fifteen minutes.
  2. Find the failing connection with repadmin /failcache and repadmin /showreps.
  3. Fix the underlying replication failure on that link rather than the topology.
  4. If the broken connections are stale, delete them and let the KCC rebuild, then wait two times the longest replication schedule in the forest.

Full reference

Reading repadmin /showism

This is the single most useful command for a 1311 and it is the one most articles omit. It prints the site connectivity matrix for a transport, with each entry in the form cost : replication interval : options.

What you see What it means
0:0:0 on the diagonal A site’s connectivity to itself. Normal
A cost and interval between two sites Those sites can reach each other over this transport
-1:0:0 The site connection is not working for this pair

A -1:0:0 has three documented readings: the replication protocol is not used, the site hosts no domain controllers and is therefore uncovered, or the site is not included in a site link. Establish which one before changing anything, because adding a site link to a site that has no DCs in it fixes nothing.

The nine documented causes

  1. Site link bridging enabled on a network that does not support connectivity between two DCs in different sites.
  2. One or more sites not contained in any site link.
  3. Site links containing all sites, but not interconnected: disjoint site links.
  4. One or more domain controllers offline.
  5. Bridgehead DCs online, but hitting errors replicating a required naming context between sites.
  6. Administrator-defined preferred bridgeheads online, but not hosting the required naming contexts.
  7. Preferred bridgeheads defined correctly but currently offline.
  8. A bridgehead server that is overloaded: undersized, serving too many branch sites from the same hub DC, or with site link schedules set too frequent.
  9. The KCC in keep-connection mode, having routed around a site-to-site failure and retrying the failing connection every fifteen minutes.

Commands and where they take you

Command What it gives you
repadmin /showism The site connectivity matrix for a transport. Start here
repadmin /showreps Per-partner status. A partner showing “at never” points at an overloaded source
repadmin /failcache The cached replication failures the KCC is working around
dcdiag /test:intersite /e /q Intersite replication health across the enterprise, quietly
dcdiag /test:connectivity /e /q Whether the DCs can actually be reached
repadmin /kcc Triggers a topology recalculation. Standard, though this article could not confirm it against a Microsoft page – check repadmin /? on your own build

Preferred bridgeheads, and why to have none

A manually nominated bridgehead server takes the choice away from the intersite topology generator and does not fail over. Three of Microsoft’s nine causes involve them: nominated but not hosting the required naming contexts, nominated correctly but offline, and nominated onto a server that is overloaded. Unless there is a firewall reason that requires one specific server to carry intersite traffic, remove the assignment and let the topology generator choose. If you must pin one, pin a server that holds every partition which has to cross that link, and pin a second so there is a fallback.

Waiting properly

Microsoft’s guidance after a topology change is to wait two times the longest replication interval in the forest, or two times the maximum replication interval after removing a bridgehead assignment. That is not padding. A change to the Configuration partition has to replicate to the DCs that will act on it, and those DCs then have to run their own calculation. Judging a change before that has happened produces a second change, and then a third, and the eventual topology is nobody’s design.

Three event IDs this article does not define

Event ID 1308, Event ID 1566 and Event ID 1865 are all quoted in KCC troubleshooting, respectively as repeated replication failures to a named directory service, a site whose DCs are all unavailable for a partition and transport, and an incomplete spanning tree. Microsoft does not publish those meanings in a place this article could point you at, so they are recorded as unpublished below. Read them on your own DCs if they are there. repadmin /showism gives you the spanning tree question directly, and repadmin /failcache gives you the failing-connection question, and both are documented.

Nothing in this article requires a product, a licence or a support contract. Site topology is configuration you already own, and every command above ships with Windows Server or the remote administration tools.

Every code this article covers

Code What it points at Source
Event ID 1311 The consistency checker determined that either there is not enough physical connectivity published in Sites and Services to create a spanning tree connecting all sites holding the partition, or replication cannot be performed with one or more critical servers Microsoft Learn
Event ID 1308 Quoted as the KCC reporting repeated failed replication attempts to a named directory service. No published message text found; use repadmin /failcache and repadmin /showreps, which are documented not published by the vendor
Event ID 1566 Quoted as every DC in a named site being unavailable for a partition over a transport. No published message text found not published by the vendor
Event ID 1865 Quoted as the spanning tree across all sites being incomplete. No published message text found; repadmin /showism answers the same question and is documented not published by the vendor

Confirm the fix worked

  1. repadmin /showism shows no -1:0:0 entries for sites that should be reachable over that transport.
  2. No new 1311 entries appear on the intersite topology generator DCs after two times the longest replication interval.
  3. dcdiag /test:intersite /e /q and dcdiag /test:connectivity /e /q both pass.
  4. repadmin /showreps shows no partner with an “at never” status.
  5. Every site appears in at least one site link, and every network prefix in use has a subnet object assigned to the right site.

Questions people ask about this

What is the fastest way to see which sites the KCC cannot reach?

repadmin /showism. It prints the site connectivity matrix for the transport, and an entry of -1:0:0 marks a pair the transport cannot serve. That answer arrives immediately, where the event log takes cycles.

Should I create connection objects by hand?

Only as a deliberate, temporary measure. Manual objects are not maintained by the KCC, do not fail over when a bridgehead dies, and tend to be forgotten. Old manual objects are often why a topology looks nothing like the design.

Can I ignore 1311 if replication seems fine?

No. It usually means a site is isolated and nobody has noticed, because DCs there still answer logons from their own increasingly stale copy. It also appears when the KCC has routed around a failure and is retrying the broken connection every fifteen minutes, which means something is genuinely broken even though the estate looks healthy.

Why does my change not seem to have worked?

Probably because you have not waited long enough. Microsoft’s guidance is to wait two times the longest replication interval in the forest after a topology change, and two times the maximum interval after removing a bridgehead assignment. Judging it sooner is how topologies end up with three overlapping fixes in them.

Does any of this need a purchase?

No. This is configuration inside Active Directory. No licence, product or add-on changes the outcome.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

Free Fix Error 0x6BA during domain join: RPC and the endpoint mapper are blocked Free Fix Error 1722 RPC server unavailable between DCs: ports, firewalls and mappers License Error Event ID 20291: DHCP failover partners rejecting each other’s binding updates Free Fix Error 1789 trust relationship failed: rebuilding a broken secure channel
โ† Back to Knowledge Base