HOME ABOUT
I AM HERE
  • Twitter icon
  • Facebook icon
  • Technorati icon
Bookmark and Share

SharePoint 2010 SPTimer job won't activate

February 2, 2011 12:10 by Aidan

...and the error you see in ULS viewer is "The SPPersistedObject, XXXXXXXXXXX, could not be updated because the current user is not a Farm Administrator"

Solution can be found here - http://unclepaul84.blogspot.com/2010/06/sppersistedobject-xxxxxxxxxxx-could-not.html - cheers Paul!

Script to turn off remote administration security is:

# AUTHOR: Paul Kotlyar
# CONTACT:
unclepaul84@gmail.com
# DESCRIPTION: sets an option on content web service that allows updating of SP Administration objects such as SPJobDefinition from content web applications
function Set-RemoteAdministratorAccessDenied-False()
{
 # load sharepoint api libs
 [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") > $null
 [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration") > $null

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

Set-RemoteAdministratorAccessDenied-False


Tags:
Categories: SharePoint 2010
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed
blog comments powered by Disqus