PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Facing Crash Issue in PDFSharp and PdfSharp.Xps
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3731
Page 1 of 1

Author:  pooja [ Wed Feb 14, 2018 11:54 am ]
Post subject:  Facing Crash Issue in PDFSharp and PdfSharp.Xps

Hello Support team,
I am using PDFSharp.net dll in my .net application for converting XPS to PDF Files.
Somehow,I am not able to export more than 50 pages.I have checked PDFSharp and PdfSharp.Xps code in that I got 50 page limitation in following method

CODE =>

private static void DoConvert(XpsDocument xpsDocument, string pdfFilename, int docIndex)

I have tried to remove that limitation from code but application starts getting crashed.
I am getting following exception in your code

system.outofmemoryexception


can you please tell me what I need to do to solve crash issue.
Please let me know, if you need anything from our side.

Awaiting your reply !!!
Thanks,
Pooja.

Author:  Thomas Hoevel [ Wed Feb 14, 2018 12:00 pm ]
Post subject:  Re: Facing Crash Issue in PDFSharp and PdfSharp.Xps

Hi!
pooja wrote:
can you please tell me what I need to do to solve crash issue.
Try running the program in 64 bit mode so it can use more than 2 GiB of memory.

Author:  pooja [ Thu Feb 15, 2018 12:49 pm ]
Post subject:  Re: Facing Crash Issue in PDFSharp and PdfSharp.Xps

Hi,

Assertion failed exception occured while converting XPS file to PDF using PDF sharp.

Can you please help me with that.


Awaiting your reply !!!
Thanks,
Pooja.

Author:  Thomas Hoevel [ Thu Feb 15, 2018 3:49 pm ]
Post subject:  Re: Facing Crash Issue in PDFSharp and PdfSharp.Xps

Hi!
pooja wrote:
Assertion failed exception occured while converting XPS file to PDF using PDF sharp.
Assertions are not exceptions, they are warnings that occur in Debug build only.
Run in Release build and you will see no more assertions ...

See also:
viewtopic.php?f=2&t=832

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/