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".
Question
Question
Is Web Access supposed to display Word Docs without Office Online Server
Answer
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
Replies
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
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"
What config file(s) should I be looking at?
C:\Program Files\Laserfiche\Document Preview\Web.config
The only "maxRequestLength" setting in that file is set to ="2097151"
Where/how would I find the overriding machine-level setting?
This is one possibility: https://stackoverflow.com/questions/2325473/where-is-machine-config
There was no "maxRequestLength" in any of the config files in %windir%\Microsoft.NET\Framework64\[version]\config\
Any other places to check?
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
Hey Bert,
Anything showing up in the LDPS Event Logs (C:\ProgramData\Laserfiche\LDPS\EventLog)
Jeff Curtis
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.