Crystral reports viewer activex control 11.5 - export to pdf - misaligned
good morning
i have been advised to post here for a better response
i have a slight issue im trying to get an answer for with crystral reports viewer activex control 11.5
when exporting data from the report on screen to pdf, everything is mostly ok except for some lines which are not correctly aligned with everything else
when i do a print instead to software such as primopdf, the alignment is fine, its exactly as it looks on the onscreen report, howeverm primopdf is unable to print the whole report due to a control error & it also takes far too long exporting the data out of crystal reports
obviously, getting the activex control export to pdf working is the preferred option, else why bother using it
has anyone else had similar issues & what did you do to resolve?
i wouldnt be suprised if the answer is simply to update to the latest version
Thank You & Regards,
Matteo Vinci II GradOIEAust
SD Innovative Solutions
Well, perhaps not the latest version, but certainly the latest Service Pack would be the place to start. For CR XI r2 (11.5), the latest SP can be downloaded from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe
If that does not help, have a look at [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d3639373635463644364636343635334433393339333832363639373635463733363137303645364637343635373335] kbase.
Now, the above was created for CR 10.2, so the registry for CR XI r2 is:
HKLMsoftware usiness objectssuite 11.5crystal reports.
You may have to create the "Export" folder and PDF folder so that this looks as:
HKLMsoftware usiness objectssuite 11.5crystal reportsexportpdf
Now, Right-click the pdf sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
Restart IIS, and try the application again.
If this does not help, let me know if this is a web or a win app.
Ludek
Similar Messages
-
How to hide the preview section in the crystal report viewer activex cntrl.
Dear All,
I am using the Crystal report viewer ActiveX to display the Crystal report. When the report opens in the Crystal report viewer ActiveX control, a preview section comes at the left hand side of the panel. How can I hide the preview section from the Report viewer control.Is it possible to customize the the report viewer control. Awaiting for your suggestions.
Thank you.
Regards,
RahaneefJust to get the terminology correct. I believe you are meaning the Group Tree(?).
Vb Code:
CrystalActiveXReportViewer1.DisplayGroupTree = False.
Also, do consult the developer help file;
C:\Program Files\Business Objects\Crystal Reports 11.5\Help\en\rdcsdk_com_dg_doc\doc\rdcsdk_com_dg.chm
Ludek -
Where can I find manual Crystal 11.0 viewer activex control for download?
Hello,
Where can I find manual Crystal 11.0 viewer activex control for download?
I'm having a heck of a time installing the control on a client machine.
Thanks,
-Drew
Moved to Crystal Forums Edited by: Marilyn Pratt on Apr 20, 2010 1:58 AMThe ActiveXViewer is not downloadable from our SAP site. The file is hosted on your web server, and also installed on the system where you have Crystal Reports XI installed.
Look here, C:Program FilesBusiness ObjectsCommon3.0crystalreportviewers11ActiveXControls for ActiveXViewer.cab. Extract the contents and right click crviewer.inf, then select Install.
Also see knowledge base article 1218519 here, http://www.sdn.sap.com/irj/sdn/crystal-xcelsius-notes. -
Report through ActiveX control - Urgent
Hi,
I want to submit report requests from the form through activeX
control. How can I pass data parameters or record groups to
report through activeX control. Is it possible in developer6.0
or not.
Thanks in advance for any help
Ajay
nullnobody?
Edited by: Vieira on 7-giu-2010 0.29 -
Hidden Report Viewer Confiugration Error on aspx pages that use report viewer web control
I try to fix the problem. The error below is embedded on aspx pages that use report viewer web control. Please note that the div element is hidden, and the reportviewer is displaying correct contents.
Div element hidden on aspx page
<div id="ReportViewer1_HttpHandlerMissingErrorMessage" style="border-color:Red;border-width:2px;border-style:Solid;padding:10px;display:none;font-size:.85em;">
<h2>
Report Viewer Configuration Error
</h2><p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
</div>
I tried adding the two elements to web.config, but to no avail.
Add below to system.web/httpHandlers
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
or add below to system.webServer/handlers for Internet Information Services 7 or later.
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
The required assemblies below are installed under C:\Windows\assembly folder. I have installed both Microsoft ReportViewer 2010 Redistributable, and 2008 SP1.
Microsoft.ReportViewer.WebForms, version 10
Microsoft.ReportViewer.Common, version 10
Below is the whole web.config:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="car" value="myCar" />
<!--<add key="ReportViewerServerConnection" value="WebForm.Lab.ReportConnection, WebForm" />-->
</appSettings>
<system.web>
<httpHandlers>
<add verb = "*" path = "Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />-->
</httpHandlers>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<profile>
<providers>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
</providers>
</profile>
<roleManager enabled="false">
<providers>
<clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>
<pages>
<controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
</system.webServer>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WebService1Soap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:58269/WebService1.asmx" binding="basicHttpBinding"
bindingConfiguration="WebService1Soap" contract="ServiceReference1.WebService1Soap"
name="WebService1Soap" />
</client>
</system.serviceModel>
</configuration>
Any idea?
Update:
IIS is7.5, AppPool is Integrated.
I have tried below, none of them works:
1) Add it only to system.web\httpHanders. Changed AppPool to classic, still got hidden error.
2) Add it only to system.webServer\handlers. Integrated mode,still got hidden error.
3) Add both to both element. Integrated mode, still got hidden error.Hi Kingofwebguru,
According to your description, when you use reportviewer control, you got the error message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.
To troubleshoot the problem, please refer to the following steps:
Click Start, click Run, then type InetMgr.exe and click OK.
Click plus sign next to server name to expand it.
Click Application Pools in left pane.
In Application Pools list, click DefaultAppPool.
In the Actions pane, in Edit Application Pool section, click Edit Settings to check the Pipeline mode.
Configuration settings for the HTTP handlers are specified in the system.web/httpHandlers element and the system.webServer/handlers element. of your application Web.config file. The handler specified in system.web/httpHandler is used by Internet Information
Services (IIS) 6.0 or IIS 7.0 in Classic mode, whereas the handler specified in system.webServer/handlers is used by IIS 7.0 in Integrated mode. To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS
will not run the application, but will display an error message instead.
For more information about Web.config Settings for ReportViewer, please refer to the following document:
http://msdn.microsoft.com/en-us/library/ms251661.aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
PDF report viewer Axtivex Control
Its an Urgent,can any one please suggest about a PDF report viewer Axtivex Control that is compatible with VS2005.That report viewer should be compatible with both 32 bit and 64 bit Windows operating system.And it should be freeware.
I have problem with Windows Vista Os in 64 bit.The problem is that i have a webbrowser control in Windows application in VS2005 for displaying PDF file.Its working fine in 32 bit operating system.The PDF file is shown within the control.But when i deploy the application in 64 bit Vista operating system,its give an error and the pdf is open in new window.Please can you provide any PDF viewer control that is free and compatible with VS2005,so that pdf should open in that control and is compatible with both 32 bit and 64 bit OS.
-
CSA Report Viewing ActiveX problem IE7
When I am trying to run the reports in CSA they work fine, in HTML format. However when I am trying to view them in activeX, it comes back on IE7, telling me it cannot access the resource and that I need to install IE4 and DCOM for windows 95. I am sure that I am simply over looking something. Suggestions?
You sir.. are fantastic!!! RESOLVED - Solution :
To Resolve:
1. Open up Internet Explorer 7
2. From the Tools menu, select Internet Options
3. From the new popup window, select the Security tab
4. Ensure that you highlight Internet
5. Click on the button named Custom level
*The Security Settings menu will now come into view*
6. Scroll down the settings until you reach "ActiveX controls and plug-ins"
7. Ensure the settings are as below -
Allow previously unused ActiveX controls to run without prompt
Enable
Allow Scriptlets
Disable
Automatic prompting for ActiveX controls
Enable
Binary and script behaviours
Enable
Display video and animation on a web page that does not use external media player
Disable
Download signed ActiveX controls
Prompt
Download unsigned ActiveX controls
Disable
Initialize and script ActiveX controls not marked as safe for scripting
Disable
Run ActiveX controls and plug-ins
Enable
Script ActiveX controls marked as safe from scripting*
Enable
Please ensure that you click OK, once finished ? to save -
Crystal reports viewer activex and caching?
We are embedding the activex report viewer component in one of our pages. It then runs and renders a report. It would appear that it is hitting the database once to pull the full dataset, but is actually caching the dataset, and fetching a page at a time. Is this correct behavior? Can it be changed?
Hello, Henry;
In a web application all of the Crystal Reports files and data handling are on the server.
The ActiveX viewer will handle post back for the pages but all of the data is retrieved and stored on the server so preparing each new page will be handled by the server.
The behaviour is correct and cannot be changed.
A workaround would be to export to pdf on the server and redirect to the browser as one document.
Elaine -
Crystal Report Viewer ActivX Control into an SAP Form
Hi
I need to show an Crystal Report Viewer in a SAP form This code show an blanck from.
I know that only ATL activX are supported by SB1, but I dont have more information about the Crystal ActivX.
Dim oFormTST As SAPbouiCOM.Form
Dim oCreatP As SAPbouiCOM.FormCreationParams
oCreatP = oApp.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
oCreatP.UniqueID = "TEST"
oCreatP.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
oCreatP.FormType = "TESTFtype"
oFormTST = oApp.Forms.AddEx(oCreatP)
Dim oItemX As SAPbouiCOM.Item
Dim oActivX As SAPbouiCOM.ActiveX
oFormTST.Height = 400
oFormTST.Width = 400
oItemX = oFormTST.Items.Add("TEST01", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
oActivX = oItemX.Specific
oActivX.ClassID = "CrystalReports11.CrystalReportViewer.1"
Dim oRep As CrystalDecisions.Windows.Forms.CrystalReportViewer
oRep = oActivX.Object
oRep.ReportSource = "E:\DevLoc\App\bin\FICHETECH.rpt"
oItemX.Height = oFormTST.Height
oItemX.Width = oFormTST.Width
oFormTST.Visible = True
Some one as an idea ?
ThksVishal,
I would like to let you know of an SBO addon that we have created called CrystalWave. This addon integrates Crystal reports with B1. This might save you a some time trying to recreate the wheel. Please take a look at the following link:
http://www.twbs.com/CrystalWave.html
YOu can download a fully functional copy at http://www.twbs.com/selectcwversion.html
This will work only on the SBODEMO_US company.
Let me know if you have any questions.
Gopal Viswanathan -
Report Viewer doesn't Preview after Export
The Windows Application has a C# class for a Report Menu which calls any one of several reports. The Report Menu allows the selection of various parameters for the report being called and then calls a C# class that builds a sql query and sets it as the report data source and sets the report parameters then opens the report in Crystal report viewer.
The report displays in the viewer and I can click on the close button and the Report Menu in the App allows me to select a different report with different parameters, no problem.
However, when any report is previewed in the viewer, before clicking the close button, I can click on the Export button and successfully export the report in whatever format and get "Export Completed". Then click on the close button and I am back at the Report Menu in the App. Try to preview any report now and it will crash. The error messages vary somewhat depending on the report selected. I can set a break point at the beginning of the class (that builds the query and sets the data source) and hit that break before doing an Export - -
but after the export the break point is never hit. Its like the Report Menu class is somehow trying to display the report without calling the report building class!
VS 2005 and CR XI R2OK. A good place to start is with the basics.
See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
Step 2 Asking Your Question; Provide Enough Information
So, please provide the necessary info as per the above.
Also:
" The error messages vary somewhat depending on the report selected. I can set a break point at the beginning of the class (that builds the query and sets the data source) and hit that break before doing an Export - -"
Please provide the most common error you get, else provide all of the errors.
Ludek -
BI Reports printing in BI 7 after exporting to pdf
Hi all,
I have an issue with regard to prinitng the Reports in BI 7 after we do the export to pdf format.
the users want to combine all the reports into one PDF file when printing?
If so, is there any such standard functionality in BW or else what could be done to achieve this.
pls advise...
thanks in advance
NeelHi,
what about creating one webtemplate with several webitems "webtemplate".
So you can execute each report, but can print ~20 webtemplates via the master template to one pdf file.
Kind regards,
Tobias
Edited by: Tobias Haas on Aug 30, 2008 3:48 PM -
Width of the Crystral Report Viewer Control
I am having problems getting the CR Viewer control to fit the entire screen. I have tried setting page widh = "100%" pagezoomfactor = 100. It's always the same size. Any ideas?
Thanks.
Paul O
Visual Studio 2005
C#
Windows XP ProNot sure what version of CR you are using. All I can do is assume (never a good idea) that it is the bundle with .NET 2005(?). If that is the case, download SP1 and see if that helps;
https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
I need crystall report print button support insted of exporting to pdf then print
Crystal reports are the most widely used reporting software.its print button is working on active X controls. due to the i am not able to use direct print button.
so please help me to provide a plugin for crystal reportHere is C# code for print crystal report
cryRpt.PrintToPrinter(2, true, 1, 2);
check this it will help you to print crystal reports
http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-print.htm
It may help you.
merca. -
Hide a report in a WebI doc when exporting to PDF
Hi everyone,
I have a Web Intelligence document that has a "Data Only" report in it. This is a tab that is for the purpose of exporting the data in the report to excel without formatting and grouping in it so that the user can easily manipulate the data in excel without the need of cleaning up all of the formatted groups.
When I choose "Save to my computer as..." and choose PDF, is there a way to exclude this report from exporting into the PDF? Likewise if I choose to export to XLS, I need to have the tab (report) included in the excel export.
Thanks,
ChadChad,
There are two ways to run a report, either via Infoview (which around here we call that "Read-Only" mode), and via Java (or Modify Mode). So, the answer to your question is "maybe yes" and "no". Definitely "no" if you're processing in read-only mode. If you process in Modify mode and click on "Save to My Computer As", then also "no". If you click on the "Print" icon, then you'll notice a slightly different dialogue screen, and it is on this dialogue screen that you see more specifications in terms of pages to print and report, etc. So the technique would be to first navigate to the tab you're interested in saving as a PDF, then click on the Print icon, go through the dialogue screen, and once you click OK you'll get one more menu, asking to either "Open", "Save" or "Cancel". If you click open you're report (the current tab only) will appear in an Adobe screen and if you click save than instead of Adobe opening you'll just send the PDF right to the hard drive.
Hopefully this clears up the air for you and you can now see the options at hand.
Thanks,
John -
Crystal Reports Basic for Visual Studio 2008 - Export to PDF in arabic font space issue
When exporting the crystal report having Arabic contents to PDF , space characters are replaced with " . Please find the attachment . Is there any way to sort out this issue??
Try searching on "RTL"
Here's a few posts that may help
http://scn.sap.com/thread/909635
http://scn.sap.com/thread/3444105
And this KBA - 1322752 - Does Crystal Reports support Arabic characters?
And this one is the ultimate answer:
1926379 - SAP BusinessObjects BI Right-to-Left (RTL) Support
CR for VS 2008 is CR Basic, it may not be able to. Upgrade to CR for VS 2010+.
Don
Maybe you are looking for
-
Can someone help with itunes not recognizing my iphone after updating to version 11.1.4.62 just released.
-
How to implement alphabetic search in combo box
Hi all, how to implement alphabetic search in combo box through coding. Thanks for any replies
-
BW integration with MS Power Point
Hi Experts, Can you please tell me how to integrate BW with Power Point? Thanks, Ashok
-
Published movies not working correctly
I was working with an existing .fla file that was working and publishing fine yesterday. Today...when I publish it, it's all screwed up? When I do a test export within flash, my movie works fine. When I publish and open the published file it doesnt w
-
Photo libraries from another computer
Problem: iPhone 3G was synced to my wife's work computer. Had about 1,000 photos that synced from the computer to the phone. She left that job. Now the photos are only on the phone. We need to get them onto my Mac. But because they were synced from a