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:
Post a Comment