Showing posts with label Installing Office Web Apps Server. Show all posts
Showing posts with label Installing Office Web Apps Server. Show all posts

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










Installing Office Web Apps Server for SharePoint 2013

Install Office Web Apps Server

1)  The Operating System on the Server for installing OWA is Windows Server 2012.Login to the Office Web Apps Server as local administrator.

2) Run the pre-requisite on the Windows PowerShell. Right click Windows PowerShell and login as administrator)

Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices




3) Go to Microsoft Download center to download Microsoft Office Web Apps Server. Copy the file to the local machine desktop.




4) Double click on the image file and click on the setup.exe file



5) Click on “I accept the terms of this agreement” and click Continue.



6) Choose the location for the file and click Install Now.



9) Installation progress is shown below.


7) Click Close.


8) The server certificate is installed on the server. After the certificate installation ,this is verified by going to IIS Manager ->Server Certificates ->



9) The certificate details are listed below.


  

10) In this step we will create the Office Web Apps Server farm .Open windows PowerShell ->Run as Administrator


New-OfficeWebAppsFarm -InternalURL "https://server.contoso.com -CertificateName "Web OWA" –EditingEnabled


 11) To verify that the Office Web Apps Server farm was created successfully, browse to this URL


The binding of SharePoint to Office Web apps Server is done in a different post 
(Binding SharePoint 2013 with Office Web Apps Server)