Tuesday, June 18, 2013

Binding SharePoint 2013 with Office Web Apps Server

This post is continued from here

Binding between SharePoint 2013 and Office Web Apps Server
1) We will create the binding between SharePoint 2013 and Office Web Apps Server. To do this, lLogin 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

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.


(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 screenshots
Word Document in OWA
Opening Word Document in OWA



Opening Word Document in OWA with Editing features in OWA
Excel in OWA
Opening Excel in OWA
Opening Excel in OWA with Editing features in OWA










1 comment: