Groups
Conversations
All groups and messages
Send feedback to Google
Help
Sign in
Groups
PDFTron WebViewer
Conversations
Labels
About
Serving WebViewer via ASP.NET - "Corrupted Reserved Bit" Warning
41 views
Skip to first unread message
Correy Lim
unread,
Mar 12, 2021, 6:27:54 PM
3/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
Copy link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PDFTron WebViewer
Q:
WebViewer is stuck showing an infinitely loading spinner, and in the console there is an exception similar to:
Uncaught TypeError: ua is not a function
at Object.e [as decompressFunction] (CoreControls.js:571)
at n (CoreControls.js:569)
at XMLHttpRequest.r.onload (CoreControls.js:570)
And a warning is being printed to the console:
Corrupted reserved bit
How do I resolve this?
A:
Please ensure that the server serving the WebViewer files to the client have their MIME-Types properly defined, per this guide:
https://www.pdftron.com/documentation/web/faq/mime-types/
If you are serving WebViewer from an
ASP.NET
Server, see:
https://www.pdftron.com/documentation/web/faq/blazor-integration-issues/#aspnet-server
Once this has been added to your server, ensure that your browser is not retrieving the requisite WebViewer files from disk cache (i.e. try loading WebViewer again in an Incognito/Private, or clear your browser's cache)
Reply all
Reply to author
Forward
0 new messages