You are viewing limited content. For full access, please sign in.

Question

Question

Is Web Access supposed to display Word Docs without Office Online Server

asked on August 11, 2021 Show version history

I have a customer reporting that Word documents in the repository, if smaller than about 34 KB, will display in WA 10, but if the Word doc file is larger, they get error "Request Entity Too Large".

0 0

Answer

APPROVED ANSWER
replied on September 3, 2021

A case was opened for the issue.
In IIS, open IIS Manager
Select the site
Double click "Configuration Editor"
Select system.webServer and then serverRuntime
Changing the "uploadReadAheadSize" to it's maximum value resolved the issue

2 0

Replies

replied on August 11, 2021 Show version history

I checked our repository which is using WA (version 10.4.2.347) and was able to open .docx documents that were greater than 300 kb with no errors.  We do not have an Office Online Server 

  

0 0
replied on August 11, 2021

LDPS specifies a large request length limit when it's installed. I'd guess someone either edited the web.config file or there's a machine-level orverride that takes precedence. Somewhere around line 24 it should say

maxRequestLength="2097151"

 

0 0
replied on August 11, 2021

What config file(s) should I be looking at?

0 0
replied on August 11, 2021 Show version history

C:\Program Files\Laserfiche\Document Preview\Web.config

0 0
replied on August 12, 2021

The only "maxRequestLength" setting in that file is set to ="2097151"

 

Where/how would I find the overriding machine-level setting?

0 0
replied on August 17, 2021
0 0
replied on August 27, 2021

There was no "maxRequestLength" in any of the config files in %windir%\Microsoft.NET\Framework64\[version]\config\

 

Any other places to check?

0 0
APPROVED ANSWER
replied on September 3, 2021

A case was opened for the issue.
In IIS, open IIS Manager
Select the site
Double click "Configuration Editor"
Select system.webServer and then serverRuntime
Changing the "uploadReadAheadSize" to it's maximum value resolved the issue

2 0
replied on August 12, 2021

Hey Bert,

Anything showing up in the LDPS Event Logs (C:\ProgramData\Laserfiche\LDPS\EventLog)

Jeff Curtis

0 0
replied on August 25, 2021

Originally, nothing was being logged to LDPS Event logs.  I then edited C:\Program Files\Laserfiche\Document Preview\Config\LdpsConfig.xml and changed it from

<EventLogLevel>Critical</EventLogLevel>

to

<EventLogLevel>Debug</EventLogLevel>

 

I then recycled both LaserficheDocumentPreviewServiceAppPool and WebAccessAppPool.  Then there was a log file created C:\ProgramData\Laserfiche\LDPS\EventLog with information about the startup and timers.  When I opened a small Docx file, the document was displayed and there was more data added to the log file.  When I opened a larger Docx file, the "Request Entity Too Large" error is displayed and no new lines are added to the log file.  It is like the document never reached LDPS.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.