1) We will create the binding
between SharePoint 2013 and Office Web Apps Server. To do this, l Login to the SharePoint 2013 Central Administration
Server and login to SharePoint 2013 Management Shell as Administrator
New-SPWOPIBinding -ServerName
server.contoso.com
where server.contoso.com is the FQDN of the URL that you
set for the internal URL
2) Now we have to verify that Office Web Apps is working.
Browse to a document library and tried opening the document. I got this error.
Problem: You see the error "Sorry, there was a problem and we can't open this document" when you try to view an Office document in Office Web Apps
Problem: You see the error "Sorry, there was a problem and we can't open this document" when you try to view an Office document in Office Web Apps
3) To fix this error,change the AllowOAuthOverHttp
setting in SharePoint 2013 to True.
Run the below PowerShell scripts. Login as Administrator
on SharePoint 2013 Management Shell.
4)Browse to a document library and try opening a document now.
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
false
$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.Update()
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
true
4)Browse to a document library and try opening a document now.
Some screenshotsWord Document in OWAOpening Word Document in OWA
Opening Word Document in OWA with Editing features in OWAExcel in OWAOpening Excel in OWAOpening Excel in OWA with Editing features in OWA
Good post
ReplyDelete