Office Online Server Error Opening PDF File In SharePoint 2019 OnPrem

Amar Dhanju 1 Reputation point
2020-08-18T23:38:55.543+00:00

Recently provisioned Office Online Server 2019 and SharePoint 2019. Users getting error message opening some PDF files. Its random where small PDF's seems to open fine but other PDF's not opening by Word Online. Getting following error in ULS log that I think is related to this issue.

WAC Persisted Cache Storage - Not enough disk space to write. Giving up.

Currently remove WordPDF bindings so that PDF's can be handled by browser. Seems like opening PDF's in Word Online is not reliable option.

New-OfficeWebAppsFarm -InternalURL "https://submain.domain.com"
-ExternalURL "https://submain.domain.com" -CertificateName "certname"
-EditingEnabled $true -LogLocation "Path to logs"
-CacheLocation "Path to cache" `
-RenderingLocalCacheLocation "Path to render cache"
-AllowCEIP
-CacheSizeInGB 30
-MaxMemoryCacheSizeInMB 1024

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
587 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Itch Sun-MSFT 2,556 Reputation points
    2020-08-19T03:58:19.127+00:00

    According to your description, smaller PDF files do not have such problems when opened.

    And based on the error information you find, it also means that there is not enough memory.

    Please note:

    Low memory conditions can cause Office document previews to fail in Office Online.

    More information:

    Configure Office Online Server for SharePoint Server

    18665-image.png