08 April 2012

Custom Timer Jobs: func FeatureActivated Access denied

Things worked in the past - do not work more
And today issue timer job

At MOSS 2007 on the timer job worked, and Today at SharePoint 2010 the timer job runs on owstimer.exe and get an error that the timer job does not work

The Error Message:

The description for Event ID 0 from source Application can not be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Custom Timer Jobs: func FeatureActivated Access denied.

The solution - PowerShell

Run this code:

$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
# turn off remote administration security
$contentService.RemoteAdministratorAccessDenied = $false
# update the web service
$contentService.Update()

Yours,
Roi

No comments:

Post a Comment