Welcome Guest Search | Active Topics | Sign In | Register

Exception when trying to open PDF file Options
Yuriy Aleksandrov
Posted: Wednesday, September 2, 2015 5:39:34 PM
Rank: Newbie
Groups: Member

Joined: 9/2/2015
Posts: 1
Hello,

We are currently evaluating your product and found one issue.
We get an exception when trying to open New York State DMV form mv-104 using your dll.
The following line caused an exception:
PdfDocument doc = new PdfDocument("E:\\mv104.pdf");

I didn't find the way to attach pdf file to the ticket but the form can be downloaded from their site:
http://dmv.ny.gov/dmv-records/motorist-accident-reports
Here is the direct link to download the form:
http://dmv.ny.gov/forms/mv104.pdf

Here is the stack trace:
[InvalidDataException: Found invalid data while decoding.]
System.IO.Compression.Inflater.DecodeDynamicBlockHeader() +6548948
System.IO.Compression.Inflater.Decode() +408
System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length) +150
System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count) +64
EO.Internal.ane.a(Byte[] A_0) +342
EO.Internal.ane.b(Byte[] A_0, Stream A_1, a6m A_2, Int32 A_3) +378
EO.Internal.v7.b(Byte[] A_0, String A_1, a6m A_2, Int32 A_3) +131
EO.Internal.v7.d() +344
EO.Internal.v7.a(v7[] A_0) +190
EO.Internal.v7.e() +81
EO.Internal.aku.a(f6 A_0, v7 A_1) +1017
EO.Internal.aku.a(PdfDocumentSecurity A_0) +1477
EO.Internal.aku.a(Boolean A_0, Boolean A_1, PdfDocumentSecurity A_2) +175
EO.Internal.f6.a(Stream A_0, Boolean A_1, Boolean A_2) +195
EO.Internal.f6.a(String A_0) +103
EO.Internal.f6..ctor(String A_0, PdfDocumentSecurity A_1) +332
EO.Pdf.PdfDocument..ctor(String fileName) +57
WebApplication1.WebForm1.Page_Load(Object sender, EventArgs e) in e:\ttt\WebApplication1\WebApplication1\WebForm1.aspx.cs:19
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Thank you
eo_support
Posted: Monday, September 7, 2015 9:30:35 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

This is just to let you know that we are still working on this issue. We can reproduce the issue here but we have not found out the root cause yet.

Thanks!
eo_support
Posted: Tuesday, September 8, 2015 10:43:03 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

We have looked into this issue. The root of the problem is because this PDF file uses AES encryption and this is not currently supported now. We are hoping that we can support it in our next release. Sorry about it!

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.