Summary
When using the Office Web Apps Server option to view a Microsoft Office Document from within web client 10.2.1 Update 2, you may receive the following error message:
Sorry, there was a problem and we can't open this document. If this happens again, try opening the document in Microsoft Word.
Cause
The web client 10.2.1 update 2 installation includes configuration information for a Microsoft Office Web Apps Server feature that is not yet fully supported.
Workaround
Modify the following pair of web client web.config files to remove incompatible configuration information:
To modify C:\Program Files\Laserfiche\Web Access\Web Files\Web.config
<!-- WOPI protocol -->
<add name="WopiHandler.ashx" verb="GET,POST" path="WopiHandler.ashx" type="Laserfiche.WebAccess.Common.Wopi.WopiHandler, WebAccessCommon" />
<!-- WOPI protocol -->
<!-- Version resources -->
<!-- Version resources -->
<!-- Version resources -->
<rule name="WopiContents">
<match url="^wopi/files/r_(.+)_([0-9]+)_(.+)/contents" />
<action type="Rewrite" url="wopi/WopiHandler.ashx?r={R:1}&id={R:2}&v={R:3}&a=contents" />
</rule>
<rule name="WopiInfo">
<match url="^wopi/files/r_(.+)_([0-9]+)_(.+)" />
<action type="Rewrite" url="wopi/WopiHandler.ashx?r={R:1}&id={R:2}&v={R:3}" />
</rule>
<rule name="WopiContents upload">
<match url="^wopi/files/u_(.+)_[^\?]+/contents" />
<action type="Rewrite" url="wopi/WopiHandler.ashx?r={R:1}&a=contents" />
</rule>
<rule name="WopiInfo upload">
<match url="^wopi/files/u_(.+)_[^\?]+" />
<action type="Rewrite" url="wopi/WopiHandler.ashx?r={R:1}" />
</rule>
To modify C:\Program Files\Laserfiche\Web Access\Web Files\wopi\Web.config
<system.webServer>
<handlers>
<!-- WOPI protocol -->
<add name="WopiHandler.ashx" verb="GET,POST" path="*/wopi/files/*" type="Laserfiche.WebAccess.Common.Wopi.WopiHandler, WebAccessCommon" />
</handlers>
</system.webServer>
Related Links
1013894 List of changes for Laserfiche 10.2.1 Update 2.