1. reasons:
Installed in the service applications and DC on the same server, this service applications include:
A. Word Viewing the Service application
B. PowerPoint, service application
2. solutions:
In the PowerShell window run the following command:
#Enable Word Web App:
$e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}
$e.WordServerIsSandboxed = $false
#Enable PowerPoint Web App – you need to answer "Y" for each command:
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false
IISRESET /NOFORCE
3. Result
After following above steps viewing and editing of PowerPoint files worked without any issue. But for word files editing worked but viewing encountered the same issue,
Wonder what's wrong with the issue and came no solutions.. But after I edit the uploaded word file and saved and viewed on browser everything worked fine there after.
It's recommended not to follow these steps on production environment and should not install Office Web Apps on a DC