Serving WebViewer via ASP.NET - "Corrupted Reserved Bit" Warning

Skip to first unread message

Correy Lim

Mar 12, 2021, 6:27:54 PM3/12/21
to PDFTron WebViewer

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?


Please ensure that the server serving the WebViewer files to the client have their MIME-Types properly defined, per this guide:

If you are serving WebViewer from an ASP.NET Server, see:

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
0 new messages