Getting Office Web Apps 2013 and SharePoint 2013 Working – fixing: Sorry, you don’t have a license to edit documents with Word Web App. Please get in touch with your helpdesk.

There are a couple of posts on how to install and configure Office Web Apps, but they all fail to mention one step which will resolve the blog titled error "Sorry, you don't have a license to edit documents with Word Web App. Please get in touch with your helpdesk.".

Here are the MSDN steps to setup OWA:

http://technet.microsoft.com/en-us/library/jj219455(v=office.15).aspx

Here are the MSDN steps to setup SharePoint 2013 to talk to OWA 2013:

http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx

If you follow these steps, you will end up with an error:

Sorry, you don't have a license to edit documents with Word Web App. Please get in touch with your helpdesk.

The missing step is,you have to open a PowerShell window on the OWA machine, and run the following commands:

$farm = get-officewebappsfarm
$farm.OpenFromUrlEnabled = $true

The OWA farm class properties are documented here:

http://technet.microsoft.com/en-us/library/jj219436(v=office.15).aspx

NOTE:  you may find that the property doesn't persist, the farm properties are stored here in an settings.xml file, simply edit that XML file and restart OWA:

C:ProgramDataMicrosoftOfficeWebAppsDataFarmState

Once you have done that, your word documents will start rendering in SharePoint 2013!  Couple of items to note:

  • SharePoint will keep logs in the SharePoint Root, but OWA will also keep its own log files on its server filesystem in: C:ProgramDataMicrosoftOfficeWebAppsDataLogsULS
  • You cannot seem to run OWA as the System Account, if you do, you will find error in the event log on the SharePoint server and no docs will render

One other property to note, "EditingEnabledWebEditingEnabled", if you don't specify this property to be true, you can't edit the document either!

Enjoy!
Chris