Wednesday 29 April 2015

Event ID 8313: A failure was reported when trying to invoke a service application


Recently I came across this issue and in SharePoint 2013 farm and find too many entries for Event ID 8313. When used process explorer I find out too many permission issues for the SP Service accounts on files and registry keys as well.

Event Text
A failure was reported when trying to invoke a service application: EndpointFailure
Process Name: OWSTIMER
Process ID: 2604
AppDomain Name: DefaultDomain
AppDomain ID: 1
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:e83f1cd236394b70beb0998888addcbc#authority=urn:uuid:8bca10c5c19a429289a7eea7f5159e86&authority=https://ServerName:32844/Topology/topology.svc
Active Endpoints: 2
Failed Endpoints: 1
Affected Endpoint:http://Serevrname:32843/e83f1cd236fgfgfgfbeb0998888addcbc/Metadatawebservice.svc
Source SharePoint Foundation
Event ID 8313
Level Error
User : spfarm

Solution: When used process explorer I find out too many permission issues for the SP Service accounts on files and registry keys as well. Also notice that Managed Meta Data service was running on the server it’s not supposed to. I stopped the service as it is running on another app server and run the following command to resolve permissions issue.
PSCONFIG.exe –cmd Secureresources
 Another power shell command for the same purpose is
Initialize-SPResourceSecurity to enforces security for all resources, including files, folders, and registry keys on Local Server.

2 comments:

  1. Use below command to resolve this issue

    PSCONFIG.exe –cmd Secureresources

    ReplyDelete
  2. will this command requrie downtime

    ReplyDelete