Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

IIS crashes when application calls GetWrappedText()

Question

My application is able to make calls to a variety of QuickPDF methods using the QuickPDF dll. However, in an IIS environment, calling "GetWrappedText" causes an "Application Error" and my application crashes and I have to restart IIS. I am making the following call:

overflowText = qp.GetWrappedText(fieldWith, @"#LINEBREAKHERE# ", valueToSetFieldTo);

Where all parameters of the method are non-null, valid values.

This error never seems to happen in the Unit Test environment- only when this call gets made in an MVC ASP.NET application in IIS7. I have included the relevant event from Event Viewer below.

Any ideas as to what is causing this? If I comment out that line, subsequent calls to other QPDF methods work just fine (say, setting field values), so it seems specific to that method call.

Event Log Details:

Log Name:      Application
Source:        Application Error
Date:          5/31/2011 8:08:21 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      -REDACTED-
Description:
Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bcd2b
Faulting module name: ntdll.dll, version: 6.1.7600.16695, time stamp: 0x4cc7ab44
Exception code: 0x80000003
Fault offset: 0x000c35b5
Faulting process id: 0x1dcc
Faulting application start time: 0x01cc1f8a6bb200f9
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: acf5ac01-8b7e-11e0-9494-f04da2cef070
Event Xml:

    1000
    2
    100
    0x80000000000000   
    19329
    Application
    DKWUSDA-E54LTP3.DKWCOMMUNICATIONS.local
    w3wp.exe
    7.5.7600.16385
    4a5bcd2b
    ntdll.dll
    6.1.7600.16695
    4cc7ab44
    80000003
    000c35b5
    1dcc
    01cc1f8a6bb200f9
    c:\windows\system32\inetsrv\w3wp.exe
    C:\Windows\SYSTEM32\ntdll.dll
    acf5ac01-8b7e-11e0-9494-f04da2cef070
 
Answer

The issue causing this crashing behavior was located in the import file (QuickPDFDLL0725.cs). Version 7.26 of Quick PDF Library includes a fix for this issue. It is a free upgrade from earlier versions of 7.xx to 7.26.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum