Hide "More Information" option from profile page
1) Save following script in java file:
2) Save above java file at my site collection
3) Open person.aspx page ==> add content editor web part at the bottom of this page ==> provide the java file link to this content editor web part
Tuesday, November 5, 2013
Tuesday, October 29, 2013
Access denied when deploying a timer Job or activating a feature from SharePoint 2010
Issue: You might get access denied error message in event log while activating timer job at site collection level
Cause: This is due to a new security feature implemented in SharePoint 2010. This feature explicitly blocks any modifications to the objects inheriting from SPPersistedObject in the Microsoft.SharePoint.
Resolution: Run below powershell script:
function Set-RemoteAdministratorAccessDenied-False()
{
[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
$contentService.Update()
}
Set-RemoteAdministratorAccessDenied-False
Reference link: http://support.microsoft.com/kb/2564009
Cause: This is due to a new security feature implemented in SharePoint 2010. This feature explicitly blocks any modifications to the objects inheriting from SPPersistedObject in the Microsoft.SharePoint.
Resolution: Run below powershell script:
function Set-RemoteAdministratorAccessDenied-False()
{
[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
$contentService.Update()
}
Set-RemoteAdministratorAccessDenied-False
Reference link: http://support.microsoft.com/kb/2564009
Subscribe to:
Posts (Atom)