Office Online Server integration with SharePoint server 2019. Issue with viewing documents in browser from SharePoint site..

Shuvajit Roy 146 Reputation points
2023-08-29T06:59:42.5066667+00:00

I deployed Office Online Server and found the server working properly. I performed "Get-OfficeWebAppsFarm" and found the elements in place. I integrated OOS with SharePoint server 2019. I observed that through "Get-SPWOPIBinding" I get the response from the system as desired.

However, I cannot open documents in browser. Word, PowerPoint, excel and pdf file directly download without opening in browser.

SharePoint and OOS are in Windows server 2019 Standard. I also performed "ooshostname/hosting/discovery" and found the XML in browser. 2023-08-29_12-55-27.png

Any suggestion plz?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
1,971 questions
Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
477 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,062 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 34,191 Reputation points Microsoft Vendor
    2023-08-29T09:54:10.55+00:00

    Which browser you are using?

    If you are using Chrome, it is how the Chrome browser works.

    To resolve this issue, add "?web=1" to the end of the URL. Then the document will be opened in the Chrome browser. For example, http://sharepointserver/Shared%20Documents/DateTest.docx?web=1.

    For IE and Edge, please follow below tips to troubleshoot.

    1.Run this command: Get-SPWOPIBinding | Set-SPWOPIBinding -Defaultaction:$true

    2.Go to Site Settings -> Site Collection Features -> Deactivate the feature Open Documents in Client Applications by Default.

    3.Go to Document library settings -> Advanced settings -> In the Opening Document in the Browser section, choose Open in the browser.

    4.Clear browser cache, then try to open files in the browser.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.