Getting "Central Directory offset not found" error using Flash WebViewer and IIS Server

13 kali dilihat
Langsung ke pesan pertama yang belum dibaca

Ryan - PDFNet Developer

belum dibaca,
7 Mei 2014, 12.09.1607/05/14
kepadapdfnet-w...@googlegroups.com
I have just strated testing your viewer and the flash version of it generates some javascript error to me, while the HTML5 version work great.

I get the following error:

Central Directory offset not found
WebViewer.min.js:25

Ryan - PDFNet Developer

belum dibaca,
7 Mei 2014, 12.11.1607/05/14
kepadapdfnet-w...@googlegroups.com
The issue is that the Flash viewer used byte-ranges when streaming is false. (same applies to the other webviewers)

This works fine in IIS for static files, but in this case the file bytes are sent from a controller action.
There is default support for byte-ranges in the controller action, so this was the problem.

After using this library:

Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru