"Sorry, there was a problem and we can't open this document.If this happens again, try opening the document in Microsoft word" Office Web App error SharePoint Server

I was building out my production environment and configured Office Web Apps.However, I was receiving an error when attempting to preview search results:

"Sorry, there was a problem and we can't open this document.If this happens again, try opening the document in Microsoft word"


Apparently, since I was using HTTP, I needed to perform one more step on the SharePoint 2013 farm. I needed to allow OAuth via HTTP using the following commands:

$config = (Get-SPSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.Update()




Comments

Popular posts from this blog

SharePoint 2013 and InfoPath 2013 - Creating Web Enabled Forms

Search stops working and Central admin Search screens error

"We’re sorry. We ran into a problem completing your request. Please try that again in few minutes." Excel Service SharePoint