OWA – Sorry, there was a problem and we can’t open this document


While viewing office document got following error message, and it was working till last time.

The error message I get for WORD, PDF and Excel files is:



to solved the problem disconnect SharePoint farm from Office Web Apps using the command
‘Remove-SPWOPIBinding –All:$true’

then reconnected the Farm to Office Web Apps by running the command
New-SPWOPIBinding -ServerName <OWA URL> -AllowHTTP

Once this was done, Office Web Apps started working.