"Sorry, this document can't be opened for editing" error creating a document in Office Web Apps

Published Jun 01 2020 08:38 AM 7,663 Views
Microsoft

Problem: You receive a "Sorry, this document can't be opened for editing" error when you try to create or edit an Office document in Office Web Apps.

 

Issue 1:

In some situations, users that are members of Active Directory (AD) Security Groups may be unable to edit documents in the browser. The solution is to ensure the User Profile Service Application (UPA) is properly configured and fully synchronized with user and group memberships. For more information, see the KB article SharePoint 2013 Unable to edit Office Web Apps 2013 files with users that are members of security gr....

 

Issue 2:

This error will also occur if co-authoring is disabled on the web application. For more information, see the KB article Disable co-authoring in SharePoint Server. Make sure that co-authoring is enabled ($web.DisableCoauthoring = $false) on web applications using Office Web Apps.

 

 

asnp *sh*

##RUN THIS TO SEE WHAT STATE IT SET TO
$web = Get-SPWebApplication <webapplication>
$web.DisableCoauthoring

##RUN THIS TO SET CO-AUTHORING TO ENABLED
$web = Get-SPWebApplication <webapplication>
$web.DisableCoauthoring = "False"
$web.Update()

 

 

Note: Disabling co-authoring via PowerShell ($web.DisableCoauthoring = "True") will break Office Web Apps functionality for Microsoft Word. Microsoft Word Web Application requires Co-authoring to be enabled to function properly and is enabled by default.

 

For more information see: Configure Office Web Apps for SharePoint 2013

3 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-1431373%22%20slang%3D%22en-US%22%3ERe%3A%20%22Sorry%2C%20this%20document%20can't%20be%20opened%20for%20editing%22%20error%20creating%20a%20document%20in%20Office%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431373%22%20slang%3D%22en-US%22%3E%3CP%3ENice%20article%20if%20you%20wanted%20to%20disable%20co-authoring%20for%20some%20reason.%20Default%20is%20set%20to%20False%20to%20allow%20co-authoring.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448922%22%20slang%3D%22en-US%22%3ERe%3A%20%22Sorry%2C%20this%20document%20can't%20be%20opened%20for%20editing%22%20error%20creating%20a%20document%20in%20Office%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448922%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20conclusion%2C%20Is%20this%20first%20issue%20related%20to%20user%20access%20right%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448968%22%20slang%3D%22en-US%22%3ERe%3A%20%22Sorry%2C%20this%20document%20can't%20be%20opened%20for%20editing%22%20error%20creating%20a%20document%20in%20Office%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448968%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Seray.%20The%20short%20answer%20is%20no%20I%20do%20not%20believe%20so.%20Long%20answer%20is%20I%20got%20that%20first%20issue%20from%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwebappsserver%2Fconfigure-office-web-apps-for-sharepoint-2013%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwebappsserver%2Fconfigure-office-web-apps-for-sharepoint-2013%3C%2FA%3E%26nbsp%3Bwhere%20it%20explains%20that%20the%20groups%20(rather%20than%20the%20users)%20do%20not%20have%20access%20to%20edit%20and%20therefore%20to%20ensure%20UPA%20is%20set%20up%20to%20properly%20synchronize.%20Also%20in%20that%20article%20more%20information%20was%20provided%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Flearn-about-microsoft-365-groups-b565caa1-5c40-40ef-9915-60fdb2d97fa2%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Flearn-about-microsoft-365-groups-b565caa1-5c40-40ef-9915-60fdb2d97fa2%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1431291%22%20slang%3D%22en-US%22%3E%22Sorry%2C%20this%20document%20can't%20be%20opened%20for%20editing%22%20error%20creating%20a%20document%20in%20Office%20Web%20Apps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431291%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EProblem%3A%20You%20receive%20a%20%22Sorry%2C%20this%20document%20can't%20be%20opened%20for%20editing%22%20error%20when%20you%20try%20to%20create%20or%20edit%20an%20Office%20document%20in%20Office%20Web%20Apps.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIssue%201%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20some%20situations%2C%20users%20that%20are%20members%20of%20Active%20Directory%20(AD)%20Security%20Groups%20may%20be%20unable%20to%20edit%20documents%20in%20the%20browser.%20The%20solution%20is%20to%20ensure%20the%20User%20Profile%20Service%20Application%20(UPA)%20is%20properly%20configured%20and%20fully%20synchronized%20with%20user%20and%20group%20memberships.%20For%20more%20information%2C%20see%20the%20KB%20article%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fkb%2F2908321%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%20data-linktype%3D%22external%22%3ESharePoint%202013%20Unable%20to%20edit%20Office%20Web%20Apps%202013%20files%20with%20users%20that%20are%20members%20of%20security%20groups%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIssue%202%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20error%20will%20also%20occur%20if%20co-authoring%20is%20disabled%20on%20the%20web%20application.%20For%20more%20information%2C%20see%20the%20KB%20article%20%3CA%20title%3D%22Disable%20co-authoring%20in%20SharePoint%20Server%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fgovernance%2Fdisable-co-authoring%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDisable%20co-authoring%20in%20SharePoint%20Server%3C%2FA%3E.%20Make%20sure%20that%20co-authoring%20is%20enabled%20(%24web.DisableCoauthoring%20%3D%20%24false)%20on%20web%20applications%20using%20Office%20Web%20Apps.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3Easnp%20*sh*%0A%0A%23%23RUN%20THIS%20TO%20SEE%20WHAT%20STATE%20IT%20SET%20TO%0A%24web%20%3D%20Get-SPWebApplication%20%3CWEBAPPLICATION%3E%0A%24web.DisableCoauthoring%0A%0A%23%23RUN%20THIS%20TO%20SET%20CO-AUTHORING%20TO%20ENABLED%0A%24web%20%3D%20Get-SPWebApplication%20%3CWEBAPPLICATION%3E%0A%24web.DisableCoauthoring%20%3D%20%22False%22%0A%24web.Update()%3C%2FWEBAPPLICATION%3E%3C%2FWEBAPPLICATION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%26nbsp%3BDisabling%20co-authoring%20via%20PowerShell%20(%24web.DisableCoauthoring%20%3D%20%22True%22)%20will%20break%20Office%20Web%20Apps%20functionality%20for%20Microsoft%20Word.%20Microsoft%20Word%20Web%20Application%20requires%20Co-authoring%20to%20be%20enabled%20to%20function%20properly%20and%20is%20enabled%20by%20default.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20more%20information%20see%3A%26nbsp%3B%3CA%20title%3D%22Configure%20Office%20Web%20Apps%20for%20SharePoint%202013%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwebappsserver%2Fconfigure-office-web-apps-for-sharepoint-2013%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EConfigure%20Office%20Web%20Apps%20for%20SharePoint%202013%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1431291%22%20slang%3D%22en-US%22%3E%3CP%3EProblem%3A%20You%20receive%20a%20%22Sorry%2C%20this%20document%20can't%20be%20opened%20for%20editing%22%20error%20when%20you%20try%20to%20create%20or%20edit%20an%20Office%20document%20in%20Office%20Web%20Apps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3EApplies%20to%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ESharePoint%20Server%202013%2C%20SharePoint%20Foundation%202013%2C%20Office%20Web%20Apps%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20article%20describes%20some%20settings%20which%20may%20cause%20this%20error%20in%20SharePoint%20Server%202013%20when%20creating%20or%20editing%20documents%20using%20Office%20Web%20Apps.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1431291%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESupport%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Aug 27 2020 03:48 PM
Updated by: