Announcement

Collapse
No announcement yet.

Print Problem with Foxit Reader and C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Bug Print Problem with Foxit Reader and C#

    Introduction:
    We are facing a weird problem with 1% of our users, as they are not able to print the documents easily using with Foxit Reader alongside with version Foxit SDK ActiveX v5.1.
    On clicking the print button, we have a method PrintWithDialog() on the back-end. On clicking, an access Violation Exception is shown and whole application goes into hanging state.
    The PrintDialog is not working properly. There is no way found to restored the system (other than restarting or task manager, neither input from computer mouse or keyboard or plugging off the printer).

    The stacktrace for the problem is:

    Code:

    AccessViolationException - Attempted to read or write protected memory. This is
    often an indication that other memory is corrupt.

    at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
    at FoxitPDFSDKStdLib._DFoxitPDFSDK.PrintWithDialog()
    at AxFoxitPDFSDKStdLib.AxFoxitPDFSDK.PrintWithDialog( )
    at MyCode.PDFToolBarButtonClick(Object sender, EventArgs e)

    We can't know about the problem as only few users are facing it and we can't debug until we don't know fully about the issue. We have tested the app extensively during the development phase.
    Also the Foxit is not helping in any way. Right now, whole operations of the team are standstill, as we can't provide application to new users as well support to the existing ones.

    Solution Tried:

    1- I have tried out with Windows 7 and Group Policy print settings through control pannel.
    2- The problem goes away, if the user try to restart the printer/reinstall the driver.
    But the problem came back in a day or 2.

    Simple example:
    One of our customers is militarybases. When they have to print a webpage using our application. They will insert the web page url to the site into application textbox and hit the print button. But, when there is this issue ^^. The application hangs.

    Note: Only Foxit is not performing well in the situation. Rest of the software including Adobe Acrobat, MS word, notepad or other processors are working fine.
    That's the reason, I am posting this issue on the forum.
    Last edited by DesiraeAlsberry; 10-19-2016, 03:59 AM.

  • #2
    Addition to the problem, right now, our client has informed of another issue. Which is when they are trying to print a page (given in the attachment). Their server is crashing.
    Fort Meyer Army Base in Arlington, VA | Find address maps, Housing, history, base facilities, driving directions etc. and all other bases.

    Comment


    • #3
      DesiraeAlsberry

      Could you please email the questions to [email protected] with your order number so we could forward the problem to our advanced support team for processing? Thank you.

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎