Crystal Reports Print Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter

    Crystal Reports Print Error

    I have .NET3.5 Windows Service application which prints Crystal Reports and
    once in a while I get the following error, if I try to print right after the
    error everything works just fine. Does anyone know what might be causing
    this problem?

    The error is occuring at CrystalReport.P rint(String printer, Int32 copies,
    Boolean collated, String paperSource) line

    Thank You


    Peter

    System.AccessVi olationExceptio n: Attempted to read or write protected
    memory. This is often an indication that other memory is corrupt.

    at System.Drawing. SafeNativeMetho ds.PrintDlg(PRI NTDLGX86 lppd)

    at System.Drawing. Printing.Printe rSettings.GetOu tputPort()

    at System.Drawing. Printing.Printe rSettings.FastD eviceCapabiliti es(Int16
    capability, IntPtr pointerToBuffer , Int32 defaultValue, String printerName)

    at System.Drawing. Printing.Printe rSettings.Get_P aperSources()

    at System.Drawing. Printing.Printe rSettings.get_P aperSources()

    at CrServer.Crysta lReport.Print(S tring printer, Int32 copies, Boolean
    collated, String paperSource)


  • Jialiang Ge [MSFT]

    #2
    RE: Crystal Reports Print Error

    Hello Peter,

    This sounds like a Crystal Report Development issue. I'm not an expert on
    CR. Microsoft supports setup and installation for the Crystal Reports
    products that are included with Microsoft Visual Studio. All other support
    is provided by Business Objects. We would like to suggest you post the
    question at https://www.sdn.sap.com/irj/sdn/businessobjects-support

    For more details, please refer to the KB article:

    [Licensing and support for Crystal Reports for Visual Studio .NET and for
    Visual Studio 2005]

    Regards,
    Jialiang Ge (jialge@online. microsoft.com, remove 'online.')
    Microsoft Online Community Support

    Delighting our customers is our #1 priority. We welcome your comments and
    suggestions about how we can improve the support we provide to you. Please
    feel free to let my manager know what you think of the level of service
    provided. You can send feedback directly to my manager at:
    msdnmg@microsof t.com.

    =============== =============== =============== =====
    Get notification to my posts through email? Please refer to
    http://msdn.microsoft.com/en-us/subs...#notifications.

    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 1 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions or complex
    project analysis and dump analysis issues. Issues of this nature are best
    handled working with a dedicated Microsoft Support Engineer by contacting
    Microsoft Customer Support Services (CSS) at
    http://support.microsoft.com/select/...tance&ln=en-us.

    =============== =============== =============== =====
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Comment

    • Peter

      #3
      Re: Crystal Reports Print Error

      Installing Crystal Reports service pack 1 fixed the problem.

      ""Jialiang Ge [MSFT]"" <jialge@online. microsoft.comwr ote in message
      news:AOASbPq$IH A.5028@TK2MSFTN GHUB02.phx.gbl. ..
      Hello Peter,
      >
      This sounds like a Crystal Report Development issue. I'm not an expert on
      CR. Microsoft supports setup and installation for the Crystal Reports
      products that are included with Microsoft Visual Studio. All other support
      is provided by Business Objects. We would like to suggest you post the
      question at https://www.sdn.sap.com/irj/sdn/businessobjects-support
      >
      For more details, please refer to the KB article:

      [Licensing and support for Crystal Reports for Visual Studio .NET and for
      Visual Studio 2005]
      >
      Regards,
      Jialiang Ge (jialge@online. microsoft.com, remove 'online.')
      Microsoft Online Community Support
      >
      Delighting our customers is our #1 priority. We welcome your comments and
      suggestions about how we can improve the support we provide to you. Please
      feel free to let my manager know what you think of the level of service
      provided. You can send feedback directly to my manager at:
      msdnmg@microsof t.com.
      >
      =============== =============== =============== =====
      Get notification to my posts through email? Please refer to
      http://msdn.microsoft.com/en-us/subs...#notifications.
      >
      Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
      where an initial response from the community or a Microsoft Support
      Engineer within 1 business day is acceptable. Please note that each follow
      up response may take approximately 2 business days as the support
      professional working with you may need further investigation to reach the
      most efficient resolution. The offering is not appropriate for situations
      that require urgent, real-time or phone-based interactions or complex
      project analysis and dump analysis issues. Issues of this nature are best
      handled working with a dedicated Microsoft Support Engineer by contacting
      Microsoft Customer Support Services (CSS) at
      http://support.microsoft.com/select/...tance&ln=en-us.
      >
      =============== =============== =============== =====
      This posting is provided "AS IS" with no warranties, and confers no
      rights.
      >

      Comment

      • Jialiang Ge [MSFT]

        #4
        Re: Crystal Reports Print Error

        Thank you very much for sharing the solution with us!

        Regards,
        Jialiang Ge (jialge@online. microsoft.com, remove 'online.')
        Microsoft Online Community Support

        =============== =============== =============== ====
        Delighting our customers is our #1 priority. We welcome your comments and
        suggestions about how we can improve the support we provide to you. Please
        feel free to let my manager know what you think of the level of service
        provided. You can send feedback directly to my manager at:
        msdnmg@microsof t.com.

        This posting is provided "AS IS" with no warranties, and confers no rights.
        =============== =============== =============== ====

        Comment

        Working...