SharePoint Error – Stale URI Endpoint

Got the following error in Event Viewer:

An exception occurred while addresses for connected app.

StaleURI#1

In this case, it was because I removed a Service Application that did not remove itself cleanly.

The easiest way to clean up this error is to log onto the database server and remove it from the Configuration database.

NP – Use the GUID from the error message and insert it into the GUID where statement below:

SELECT *
FROM dbo.FARM_CONFIG_DB
WHERE GUID LIKE ‘%81293e27%’
GO

DELETE
FROM dbo.FARM_CONFIG_DB
WHERE GUID LIKE ‘%81293e27%’
GO

SELECT *
FROM dbo.FARM_CONFIG_DB
WHERE GUID LIKE ‘%81293e27%’
GO

Domain Controller Replication Issues – NetLogon

Ran a DCDiag on my Active Directory Domain Controller.

DCDiag is a quick way to check the health of Active Directory.

While reading through the report I noticed that the replication to my Forest controller was not replicating to my Domain Controllers.

See the date and time when the last replication was received:

DCReplication#1

It turns out that the NetLogOn service on the Forest controller was in a Paused state.

DCReplication#2

NetLogon service maintains a secure channel between the Forest domain controller and the domain controller for authenticating users and services. If its stopped or paused, unable to register DNS records or authenticate users.

Once this has been resumed, replication between the Forest and the Domain Root will work.
You can verify this by open a Command Prompt on the Domain Controller and running the following command:
repadmin /syncall