Thursday, December 12, 2013

Fix: Access denied error when using SPWebApplication.Update()

Fix: Access denied error when using SPWebApplication.Update()

Reason : 
             The reason was that the Remote Administration Access Denied was true by default.

Solution:
             To disable Remote Administration Access Denied using Powershell:
-------------------------------
 $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$contentService.RemoteAdministratorAccessDenied = $false
$contentService.Update()
--------------------------------

No comments: