Category : Troubleshooting

Health Analyzer – Secondary Logon service (seclogon) is disabled

Summary: The Secondary Logon service is used to generate thumbnail images of Power Pivot workbooks in the Power Pivot Gallery. By default, the Secondary Logon service is set to manual startup.

If the service is disabled, thumbnail generation will fail. Additionally, the ULS logs will contain the following error: “The error 1058 can have as a root cause the fact the Windows service “Secondary Logon” is disabled.”

To check service configuration, use the Services console application to find Secondary Logon and change its Startup Type to Manual,  but the Health Rule checks if the Secondary Logon service has a Status of Running, not a Startup Type of Manual (or Automatic), so you can change this to Running.

Secondary Logon Properties

If you cannot enable the service, your organization might have a group policy that disables it. Check with an administrator to determine whether this is the case.

After you enable the service, thumbnail or snapshot images will refresh over time. Optionally, you can force a refresh by restarting the service and opening and then resaving the property pages of a specific report.

 

Read More

Health Analyzer – Verify that OAuth is configured correctly for the Machine Translation Service application proxy

Applies to: SharePoint Server 2013, SharePoint Foundation 2013

Summary: Resolve the SharePoint Health Analyzer rule “Verify that OAuth is configured correctly for the Machine Translation Service application proxy.”

Rule Name:  Verify that OAuth is configured correctly for the Machine Translation Service application proxy.

Cause:  OAuth is not configured correctly for the Machine Translation Service application proxy.

Resolution: Ensure that every Web application with a Machine Translation Service application proxy has a connection to a User Profile service application and an App Management service application, and is in claims-based authentication mode.

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.
  2. On the Central Administration website, clickApplication Management.
  3. On the Application Management page, in theService Applications section, click Configure service application associations.
  4. In theApplication Proxy Group column, click the proxy group for the Web application or service application that you want to configure. Usually it is the default Application Proxy Group.
  5. Select theUser Profile Service Application Proxy check box and the App Management Service Application Proxy check box.
  6. Go back to the Central Administration Home page. In theApplication Management section, click Manage web applications.
  7. Click the Web application you want to configure, and then click theAuthentication Providers button on the ribbon.
    1. Ensure that the Membership Provider Name for theDefault zone is Claims Based Authentication. If not, you have to migrate the Web applications from classic mode to claims-based authentication. For more information, see Migrate from classic-mode to claims-based authentication in SharePoint 2013.
Read More

User Profile Synchronization Errors In SharePoint 2013

Applies to: SharePoint Server 2013, SharePoint Foundation 2013

Summary: Permission and the errors when creating the user profile synchronising job of SharePoint 2013.

During testing of SharePoint 2013 I experienced the Application Event Log errors below.  When the errors occurred I was unable to run a User Profile Synchronization with Active Directory.

Event ID 6398, category Timer

The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 0afab701-a201-4df9-bfc7-590838da8809) threw an exception. More information is included below.

Generic Failure

Event ID 1004, category None

Detection of product ‘{90150000-104C-0000-1000-0000000FF1CE}’, feature ‘PeopleILM’, component ‘{1C12B6E6-898C-4D58-9774-AAAFBDFE273C}’ failed. The resource ‘C:Program FilesMicrosoft Office Servers15.0ServiceMicrosoft.ResourceManagement.Service.exe’ does not exist.

Event ID 1001, category None

Detection of product ‘{90150000-104C-0000-1000-0000000FF1CE}’, feature ‘PeopleILM’ failed during request for component ‘{1681AE41-ADA8-4B70-BC11-98A5A4EDD046}’

Resolution

The resolution is to grant read access to the Network Service account to the c:Program FilesMicrosoft Office Servers15.0 folder

Read More

Event ID 6398 – SharePoint Founation Search

Applies to: SharePoint 2013

Summary: Learn about the synchronising permissions and the errors when settings permissions for the Managed Metadata Service.

Event ID 6398, SharePoint Founation

The Execute method of job definition Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition (ID b1bfbccc-c3c1-4ba4-973c-0131185fe079) threw an exception. More information is included below.

Retrieving the COM class factory for component with CLSID {0FF1CE15-0005-0000-0000-000000000000} failed due to the following error: 80070422 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422).

Resolution

Add read access for your Default Content Access Account (that you find in the Search Service Application) in the Managed Metadata Service Application.

  1. Central Admin
  2. Application Management
  3. Manage Service Applications
  4. Select the Managed Metadata Service
  5. Click Permissions in the ribbon

Give your Default Content Access Account Read Access to Term Store

Read More

Event ID 10016 – DCOM (000C101C-0000-0000-C000-000000000046)

Applies to: Windows Server 2008

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {000C101C-0000-0000-C000-000000000046}

and APPID {000C101C-0000-0000-C000-000000000046}

to the user domainspfarm SID (S-1-5-21-1813126608-4190571182-3204100927-3160) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

SharePoint 2013 - Event ID 10016 -1

If you seethe Dcom config, security the options are all greyed out. You need to do some additional steps:

Open registry editor (run regedit.exe), browse to Hkey_classes_rootAppID{000C101C-0000-0000-C000-000000000046} right click and choose permissions.

SharePoint 2013 - Event ID 10016 -2

Choose Advanced

SharePoint 2013 - Event ID 10016 -3

Go to the Owner tab, select the Administrators (DomainAdministrators) group under Change owner to and select the replace owner on subcontainers and objects. Choose OK to close the window. You will return to the permissions window.

SharePoint 2013 - Event ID 10016 -4

Select Administrators (DomainAdministrators) and set Allow Full Control permissions. After you have done the above settings you go to Administrative Tools – Component Services. Expand Component Services, Computers, My Computer, DCOM Config. Scroll way down till you find the {000C101C-0000-0000-C000-000000000046} icon, right click and choose properties.

SharePoint 2013 - Event ID 10016 -5

Go to the security tab, select customize at Launch and Activation Permissions and choose Edit…

SharePoint 2013 - Event ID 10016 -6

Select the SharePoint Farm Account and set the Local Activation right.

Read More

Event ID 10016 – DCOM APPID (EE4171E6-C37E-4D04-AF4C-8617BC7D4914)

Applies to: Windows Server 2008

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {806835AE-FD04-4870-A1E8-D65535358293} and APPID

{EE4171E6-C37E-4D04-AF4C-8617BC7D4914} to the user ADAgent-DaaS-gMSA$ SID (S-1-5-21-971660138-580146584-2293678388-3421) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

 

The big difference with the other error is when you go to the Dcom config, security the option are all greyed out. So you need to do some additional steps:

Open registry editor (run regedit.exe), browse to Hkey_classes_rootAppID{ EE4171E6-C37E-4D04-AF4C-8617BC7D4914} right click and choose permissions.

Choose Advanced

Go to the Owner tab, select the Administrators (DomainAdministrators) group under Change owner to and select the replace owner on subcontainers and objects. Choose OK to close the window. You will return to the permissions window.

Select Administrators (DomainAdministrators) and set Allow Full Control permissions.

After you have done the above settings you go to Administrative Tools – Component Services. Expand Component Services, Computers, My Computer, DCOM Config. Scroll way down till you find the {000C101C-0000-0000-C000-000000000046} icon, right click and choose properties.

Go to the security tab, select customize at Launch and Activation Permissions and choose Edit…

Select the SharePoint Farm Account and set the Local Activation right.

Read More

Event ID 1008 – Performance Library Availability

Applies to: Windows Server 2008

Performance counters, including those built in to the operating system and those provided by non-Microsoft vendors, are combined in the Performance Library. Performance monitoring applications such as Windows Reliability and Performance Monitor use the Performance Library to identify available counters and map to counter providers. Errors accessing the Performance Library may result in application errors when expected data cannot be found, or when expected data providers are unavailable.

Event Details

Product: Windows Operating System
ID: 1008
Source: Microsoft-Windows-Perflib
Version: 6.0
Symbolic Name: PERFLIB_OPEN_PROC_FAILURE
Message: The Open Procedure for service “%1!s!” in DLL “%2!s!” failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

Resolve the installation issue

If a performance library file was not properly initialized during installation, you can reload it. Membership in the local Administrators group is required to complete this procedure.

To reload a performance library:

  1. Click Start, click All Programs, and click Accessories.
  2. Right-click Command Prompt, and then click Run as administrator.
  3. At the command prompt, type cd %SYSTEMROOT%System32 and then press ENTER.
  4. At the command prompt, type lodctr:<ini file>, where <ini file> is the .ini file for the library that you want to reload.

Verify

You can use Windows Reliability and Performance Monitor to verify that netowkr performance counters are properly collected and displayed in a Performance Monitor graph. In addition, you can use the typeperf command to get a list of the available counters on the local system.

Membership in the local Administrators group is required to complete these procedures.

View counters in Performance Monitor

To view counters in Performance Monitor:

  1. On the computer where you want to view counters, click Start. In the Start Search text box, type perfmon.exe, and then press ENTER.
  2. In the navigation pane, expand Monitoring Tools, and then click Performance Monitor.
  3. Click the Add button to open a list of available performance counters.
  4. In the Add Counters dialog box, you can click Help for more information on adding counters. When you have finished adding counters to the list, click OK.
  5. Verify that the performance counters you selected are displayed in the Performance Monitor graph.

View a list of counters using the typeperf command

To view a list of counters at the command prompt:

  1. Click Start, click All Programs, and click Accessories. Right-click Command Prompt, and click Run as administrator.
  2. At the command prompt, type typeperf -qx and press ENTER.
  3. Verify that the performance counter list contains expected values.

Using Regedit

After granting the WSS_WPG group full control(you probable can get away with a little less) to the following registry keys, the errors went away. HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesBITSPerformance

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWmiApRplPerformance

Read More