Run the below script to enable back the cell storage service at SP web application level for Office 2007 documents to open in read\write mode.
#-----------------------------------------------------
# Enable cell storage
# This script will enable cell storage on a given
# SharePoint web application
#-----------------------------------------------------
# Set this to the URL of your web application
$webApplicationURL = "http://contoso.com"
#-----------------------------------------------------
# Script body - nothing to change here
#-----------------------------------------------------
if((get-pssnapin 'microsoft.sharepoint.powershell' -ea 0) -eq $null){add-pssnapin microsoft.sharepoint.powershell}
$wa = get-spWebApplication $webApplicationURL -ea 0
cls
if($wa -ne $null)
{
if($wa.cellStorageWebServiceEnabled)
{
write-host "Cell storage is already enabled on the web application $($wa.url)."
}
else
{
$wa.cellStorageWebServiceEnabled = $true
$wa.update()
write-host "Cell storage was successfully enabled on the web application $($wa.url)"
}
}
else
{
write-host "Couldn't find web application $webApplicationURL."
}
No comments:
Post a Comment