Host Offline Library Sample on an IIS web server issue

41 views
Skip to first unread message

Jayaseelan A

unread,
Sep 26, 2014, 7:16:57 AM9/26/14
to pdfnet-w...@googlegroups.com
Hi,

I have host Offline Library Sample in our IIS,after the documents have been downloaded and disabled internet connection,then view the document getting error.

Please find the attcahed error and manifest(test.appcache) file for your reference.

Add MIME type in my web.config,
 <mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" />

How to host Offline Library Sample on an IIS web server?


test.appcache
Error_26 16-41-41.png

Matt Parizeau

unread,
Sep 26, 2014, 6:18:23 PM9/26/14
to pdfnet-w...@googlegroups.com
Hi Jayaseelan,

The appcache file you've attached is only caching resources on the outer page (which is why they're visible) but not caching any of the HTML5 viewer resources which is why it isn't able to be loaded.

If you look at the sample appcache file included with WebViewer you'll see that it includes all the necessary resources for the viewer page as well.

Matt Parizeau
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages