Event ID: 8031 – Requested Application Could Not Be Found

While verifying an issue with our local SharePoint instance, noticed in event logs on one of the SharePoint Application servers that one of the Application Endpoints couldn’t be found.

Event ID: 8031 – The request application could not be found.

EventID8031

This is related to an old Service Application that was deleted but didn’t delete all endpoints from all servers in the SharePoint Farm.

To resolve this error, you need to clean up the database for this application.

Open SQL Server where your content database sits.

Write the command into the script:

SELECT ID, Name, Status, Properties
FROM .dbo.Objects
WHERE NAME LIKE ‘%%’
GO

Eg.

SELECT ID, Name, Status, Properties
FROM ContentDB.dbo.Objects
WHERE NAME LIKE ‘%285C%’
GO

Confirm that the name column matches the GUID in the logs.

EventID8031_#1

Run the following script in SQL Server to remove the endpoint from the database:

DELETE *
FROM dbo.Objects
WHERE Name LIKE ‘%285C%’
GO

Perform an IISReset on the affected server.