|
Rank: Newbie Groups: Member
Joined: 12/20/2017 Posts: 5
|
I use EO.Pdf 18.0.15
I have a problem merging som PDF files, I read the PDF files from a byte[] using stream. And the PDFDocuments is working good.
But when I try to merge on of the Documents I get and Exception
System.InvalidOperationException HResult=0x80131509 Message=Operation is not valid due to the current state of the object. Source=EO.Pdf StackTrace: at EO.Internal.mu.b() at EO.Internal.a6s.a.a(aj A_0, a[] A_1) at EO.Internal.a6s..ctor(gb A_0) at EO.Internal.gb.d() at EO.Pdf.PdfDocument.Merge(PdfDocument[] docs)
I get the same Exception trying to merge the PDFDocument with other PDFDocuments as well as with itself. If I just return the PDFDocuments it displays correctly so it is a working PDF file, no problem there.
Anyone has any suggestions on whats going wrong?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi, This must have something to do with the file you are trying to merge. Can you send the file to us so that we can take a look? See here for more details on sending test file/project to us: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 12/20/2017 Posts: 5
|
Sent the pdf as described in the link.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Thanks for the test file. We were able to find out the root of the problem and this issue should be resolved in our next build. We will reply again once the update build is posted.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
This is just to let you know that we have posted a new build that should fix this problem. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 12/20/2017 Posts: 5
|
Tested the new version and it solved my problem, now I can merge that file with itself and other files. Thanks for the help and quick fix and responses
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
You are very welcome. Please feel free to let us know if you see any other problems.
|
|
Rank: Newbie Groups: Member
Joined: 12/20/2017 Posts: 5
|
Hi now I got a new problem when I merge the pdf that had the problems with another pdf then that pdf stops displaying some textboxes, I will send an email with the two files I have problems with using the lastest version 18.0.55
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Thanks for the test file. We have found the problem and this will be fixed in our next build. We will reply again when the new build is posted.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
We have posted a new build that addressed this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 12/20/2017 Posts: 5
|
Hi, downloaded the lastest build and now the checkboxes are showing as expected.
Thanks for the quick response
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Glad to hear that and thanks for confirming the fix!
|
|
Rank: Newbie Groups: Member
Joined: 5/18/2018 Posts: 9
|
Hi,
I am able to print two pdf seperately, but when I am merging those two pdf documents, Text is not displaying on the merged pdf. I am using EO.PDF 18.0.98.0 version.
Any ideas?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
SKR wrote:Hi,
I am able to print two pdf seperately, but when I am merging those two pdf documents, Text is not displaying on the merged pdf. I am using EO.PDF 18.0.98.0 version.
Any ideas? Hi, Please update to the latest build and if that still does not resolve the issue, please try to isolate the problem into a small test app and send the test app to us. Once we have that we will investigate further. See here for more information about sending test app to us: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/18/2018 Posts: 9
|
Hi, With Latest version 18.1.75 the issue went away, but my existing and successfully PDF generating code is giving error now saying 'The object already has an owner. Please use a clone of the object instead.'. Before I upgrade to new version there were no exceptions. I also observed one more thing is that first we are getting " Quote:Object reference not set to an instance of an object. " at render.Render(root, block); Because of this error we are getting first initial error I posted above. So I guess Quote:Object reference not set to an instance of an object. this has to be concentrated. Is there anything that was changed in new versions so that we need to change in our code base.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
Please send a test project to us. Without a test project we would be just shooting the dark and there is little chance for us to hit anything. So sending a test project to us is the most effective way to get such issue resolved.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/18/2018 Posts: 9
|
Hi,
I have sent test project with details.
I identified is that, when we add Check boxes with AcmCheckBox, Render is giving error "Object reference not set to an instance of an object". If we do not add Checkbox, PDF generation is working good.
Before I upgrade to 18.1.75 version Checkboxes were adding with no problem, but as I mentioned above with old(18.0.98.0) dlls, I faced other issues.
Can you please suggest on new dlls issue?
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
We have looked into the test file and confirmed this to be a bug on our end. We will fix it and post a new build as soon as possible.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/18/2018 Posts: 9
|
Hi,
Thank you. Please update when new build is ready.
Thanks, Syam.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Certainly.
|
|