Welcome Guest Search | Active Topics | Sign In | Register

System.AccessViolationException: Attempted to read or write protected memory Options
ePlus
Posted: Monday, June 23, 2014 12:08:08 PM
Rank: Newbie
Groups: Member

Joined: 8/20/2013
Posts: 3
Team,

Below is the exception we are getting while doing HTMLTOPDF:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at EO.Pdf.Internal.dd.ac.Invoke(IntPtr A_0, Int32& A_1, Int32& A_2, Boolean A_3) at EO.Pdf.Internal.dd.a(IntPtr A_0, Boolean A_1) at EO.Pdf.Internal.dd.a(HtmlToPdfOptions A_0, String A_1, Boolean A_2) at EO.Pdf.Internal.dd.b(HtmlToPdfOptions A_0, String A_1, Boolean A_2) at EO.Pdf.Internal.dd.a(br A_0) at EO.Pdf.Internal.lr.c.a(Byte[] A_0) at EO.Pdf.Internal.a.b(BinaryReader A_0) at EO.Pdf.Internal.lr.a(a A_0) at EO.Pdf.HtmlToPdfSession.a(a A_0) at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc)

This is an intermittent issue. Any help on this will be highly appreciated.

PS: we are on 4.0.68.2

Thanks.
eo_support
Posted: Monday, June 23, 2014 12:49:51 PM
Rank: Administration
Groups: Administration

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

This usually indicates a crash in WebKit's code (internally we use WebKit to perform the conversion). We have fixed some of such issues over the past year. So you might want to update to a newer build to see if the problem has already been addressed.

You will need a different key to use the new version. We will PM you with the details.

Thanks!
ePlus
Posted: Friday, July 11, 2014 5:08:34 AM
Rank: Newbie
Groups: Member

Joined: 8/20/2013
Posts: 3
Hi Team,

Thank you for your response.

After upgrading the EO.PDF version we are no longer seeing any exceptions, but we are still seeing blank PDF's.

Are there other pointers to this problem? Any help on this will be highly appreciated.

Thanks.
eo_support
Posted: Friday, July 11, 2014 11:28:32 AM
Rank: Administration
Groups: Administration

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

We do not know why you are getting blank PDFs. If you can isolate the problem into a test project, we will try to run it here and see if we can reproduce the problem. Usually as soon as we can reproduce the problem, we will be able to find out why. Please see here for more information on how to send us the test project:

http://www.essentialobjects.com/forum/test_project.aspx

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.