1.Cause:
Related service applicationsProgramAndDCInstalled on the same server, this service application includes:
A.Word viewing serviceApplications
B.PowerPoint ServiceApplications
2.Solution:
InPowershellRun the following command in the window:
# Enable word web app:
$ E = Get-spserviceapplication | where {$ _. typename. Equals ("word viewing serviceApplications")}
$ 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 abve 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 shocould not install Office Web apps on a DC
You can also view the updates here:
Workaround for Office Web apps on Domain Controller (DC)