Skip to Content
avatar image
Former Member

Crystal Report Printing Problem

Hi

I’m using asp.net with crystal report I have set Print Mode=”ActiveX” and my CR version 10.5.3700.0

I have deployed my web app in hosting server. Now my web app is using internet Explorer 7 or above using three operating system Windows XP 2 and Xp3 and Win 7.

Now when user click print the dialogue comes and disappear why... What’s the problem …?

What to do to print report in client side.

This is my wbe.config

<sectionGroup name="businessObjects">

      <sectionGroup name="crystalReports">

        <section name="printControl" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" />

</sectionGroup>

</sectionGroup>

</configSections>

  <businessObjects>

<crystalReports>

<printControl>

        <add key="url" value="http://Mydomainname.com/CR/PrintControl.cab" />

</printControl>

</crystalReports>

</businessObjects>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 10, 2012 at 05:15 PM

    I moved your post to the SAP Crystal Reports, version for Visual Studio discussion space.

    Enter the search term 'activex print crystal' into the search box at the top right of this web page. You'll get a number of hits that should help. If not, let me know the suggestions you tried that came up in the search.

    - Ludek

    Follow us on Twitter

    Got Enhancement ideas? Try the SAP Idea Place

    Share Your Knowledge in SCN Topic Spaces

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 11, 2012 at 12:09 PM

    Change the PrintControl tag.

    Check your mahcine and edit the location for PrintControl.cab file.

    - Bhushan

    Follow us on Twitter

    Got Enhancement ideas? Try the SAP Idea Place

    Share Your Knowledge in SCN Topic Spaces

    Add comment
    10|10000 characters needed characters exceeded

    • Here is something to consider:

      /aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css

      /aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalprinthost.html

      /aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/js/print.js

      CrystalReportWebFormViewer4 refers to the viewer in Crystal Reports version 10.5 (bundled with .NET 2008).

      CrystalReportWebFormViewer3 refers to  to the viewer in Crystal Reports version 10.2 (bundled with .NET 2005).

      So, the question then becomes; why is your app looking for info from two different products?

      My recommendation would be to go back to your development computer and do the following:

      1) search you whole project to CR references. Make sure only version you see referenced anywhere is 10.5
      2) delete the exisitng viewer off the form it is on
      3) save your project
      4) re-add the viewer from the toolbox, ensuring it is created using the 10.5 version of the assembly CrystalDecisions.Web
      5) recompile, save

      On the deployed computer:
      1) uninstall your app
      2) rename the CrystalReportWebFormViewer3 to CrystalReportWebFormViewerXX
      3) reinstall your app

      - Ludek

      Follow us on Twitter

      Got Enhancement ideas? Try the SAP Idea Place

      Share Your Knowledge in SCN Topic Spaces