SAP Knowledge Base Article - Public

1183384 - How to print using the ActiveX print control in a Crystal Reports for Visual Studio 2005 .NET web application


You have created a Crystal Reports .NET application.

Your application is using the CrystalReportViewer to display reports and the ActiveX print control to print reports.

When clients click the print button on the viewer, is not downloaded, even though it is located within the CrystalReportViewersXX virtual directory on your web server.




To enable users of the web application to download the print control, add the following XML to your web site's web.config file, adding the location of your file on the web server in the printControl element.

By default, is installed in the following folder:
C:\inetpub\wwwroot\aspnet_client\system_web + the framework and version of the CR Viewer

Note that the <configSections> element needs to be placed as the first child node of the <configuration> element in web.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" />
<add key="url" value="http://myserver/" />


printing, activex, printcontrol.dll,, download, xir2, .net 2005, asp, dot net, crystalreportviewers115 , 1414082 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Bug Filed


SAP Crystal Reports, developer version for Microsoft Visual Studio ; SAP Crystal Reports, version for Visual Studio .NET 2008