0
Under review

Office Web Viewer Not Working

Brian H 3 months ago updated by Vlad R 3 months ago 5

Office Web Viewer was initially working. Our DNS server for our domain was moved and now all we get is an error that states:

Hmmm… can't reach this page

It looks like the webpage at https://www.office.com/redir.aspx?assetid=HA102 might be having issues, or it may have moved permanently to a new web address.

When I run the debugger I am getting this error:

  1. Mark cross-site cookies as Secure to allow them to be sent in cross-site requests
    1. In a future version of the browser, cookies marked with SameSite=None must also be marked with Secure to get sent in cross-site requests. This behavior protects user data from being sent over an insecure connection.

      Resolve this issue by updating the attributes of the cookie:

      • Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use.
      • Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests

Answer

Answer

Try replacing the file "customizables/plugins/office_web_viewer/app.php" with this version: https://f.afian.se/wl/?id=pkDaf8hsYm6WVol2mavH1hIGBkkgs5qk and let me know if it improves things for you.

Under review

A possible workaround: FileRun Control Panel -> Files -> Plugins -> Edit "Office Web Viewer" plugin -> Enable "Open in a new browser tab".

Answer

Try replacing the file "customizables/plugins/office_web_viewer/app.php" with this version: https://f.afian.se/wl/?id=pkDaf8hsYm6WVol2mavH1hIGBkkgs5qk and let me know if it improves things for you.

Hi Vlad.  I am currently experiencing a very similar issue when attempting to open doc or docx files.  Has there been any progress with this issue?

Thanks

The above patch has been applied to the public demo: https://filerun.com/demo

You can try it there and let me know what's the difference between our FileRun installation and yours. Perhaps it's the files, perhaps it's the Microsoft service over which we have no control.

If you can provide access to the installation, so that we can try it out ourselves in your installation, e-mail us with the details: https://filerun.com/contact (Do apply the above patch before that.)