Wednesday, March 4, 2015

Office 2010 Documents in SharePoint 2010 opening in Read-Only but Office 2007 opening fine in Read/Write

There are some issues when you move to Office 2010 from office 2007 in SharePoint and documents start opening in Read only mode and are not editable.
Please use the below script to run to disable-cellstorage script service for office at SP Web application level.

#-----------------------------------------------------
# Disable cell storage
# This script will disable cell storage on a given
# SharePoint web application
#-----------------------------------------------------

# Set this to the URL of your web application

$webApplicationURL = "http://webapp"


#-----------------------------------------------------
# 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)
    {
        $wa.cellStorageWebServiceEnabled = $false
        $wa.update()
        write-host "Cell storage successfully disabled on the web application $($wa.url)."
    }
    else
    {
        write-host "Cell storage is not currently enabled on the web application $($wa.url)"
    }
}  
else
{
    write-host "Couldn't find web application $($wa.url)"
}


Below is the link to learn more about cellstorage service.
http://blogs.architectingconnectedsystems.com/blogs/cjg/archive/2013/01/10/CellStorage.svc-_2D00_-Intelligence-Updating-with-Office-Clients.aspx

No comments:

Post a Comment