How to refresh report using Crystal Report Viewer 2008
Hi,
Please help me I dont now how to refresh report, te tab "refresh" is not active !!!!
Jacek
Hi Jacek,
You can only refresh reports that are hosted on Business Objects servers (such as Crystal Reports Server 2008).
http://www.businessobjects.com/product/catalog/crystalreports_viewer/
Cheers,
Fritz
Similar Messages
-
How to view multiple reports using crystal reports 2008
Hi ,
I am working on vb6 project where in i am trying to generate reports using crystal reports 2008.
For this , i am making use of Interop Form Wrapper class in vb6.
I have a business requirement where in i need to view multiple reports on my screen.
please suggest me as to how this can be achieved.
Thanks in Advance
Regards,
RamnathHi Ludek,
I am directly now using crystal report viewer control in my vb6 project.
As mentioned in previous mail, i have created a Interop Wrapper class over crystal report viewer control in .Net using visual studio 2008 and i am making use of wrapper class in my vb6 project.
I am able to access all the properties that have been defined in my Interop wrapper Class but the only stuff i need is to view multiple reports generated one after the another for a single button click Event.
Please find below the code that iam using to load and generate reports.
Note:
1. frm is the instance of my Interop Wrapper Class built over CR viewer control
2. All the user defined methods of Wrapper class that you see below will internally call the actual crystalreportviewer properties defined in my Wrapper class
Say for e.g frm.DisplayToolbar(True) will internally execute crystalreportViewer1.DisplayToolbar = True
frm.SetReportSource(strRptFilePath,0)
frm.SetSelectionFormula(strrecordSelectionFormula)
frm.DisplayToolbar(True)
frm.ShowExportOption(True)
frm.ShowPrintOption(True)
frm.ShowRefreshOption(True)
frm.ShowPAgeNavigateOption(True)
frm.ShowZoomOption(True)
frm.ShowParameterPanelOption(True)
frm.Show()
Thanks in Advance
Regards,
Ramnath -
Post Author: Manjula
CA Forum: JAVA
Hi,
Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the database.Details:[Database Vendor Code:6550].
Would be thankful if someone could answer my point as applicable.
Here is the code attached.
ISDKList dbLogons = oReport.getReportLogons();int dbLogonSize = dbLogons.size();
for(int i=0; i<dbLogonSize; ++i) {
IReportLogon dbLogon = (IReportLogon)dbLogons.get(i);
dbLogon.setDatabaseName("DBname");
dbLogon.setUserName("usrname");
dbLogon.setPassword("pwd");
Thanks in advance.Post Author: Manjula
CA Forum: JAVA
Ted,
Thank you for your valuable information.
First, tried scheduling on Central Management Console and then with the java code.It worked fine, but here is another question for you.
On the Console, a report exists with ServerName and UserName harcoded and when trying to set ServerName and UserName from the java code, its throwing exception. Where as Password is not set on Console, am able to set password from java.
And DatabaseName is not set on Console (non editable), unable to set the same from java too. Why is it so?
So, my question is - though ServerName,DatabaseName,UserName,Password exists on the Console report, can't I override those parameters from java?
Would be greatful if you answer my question and provide me some guidance.
Thanks in advance. -
Sub report group tree in main report Using crystal report 12
Hi experts,
I have a strange requirement like, same data needs to be grouped two different ways in a same report. Like
Store1:
Summary of sales on each item chart
Store2:
Summary of sales on each item chart
.....it goes like this
Department1(multiple stores)
summary of sale on each item chart - store1
summary of sale on each item chart - store2
--........ it goes
Department2
summary of sale on each item chart - store3
--........ it goes
Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
I achieved this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
Thanks in advance.Hi
Thanks for the reply.
Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
So please me with some different ways and also , please clarrify the following doubts
1. Can we supress one or more items in the group tree.
2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
Please help me -
Problem in Display the Crystal report using Crystal report Viewer 2008
Hi All,
I have developed crystal web project with crystal report using Eclipse IDE. when I deploy this web application using Tomcat server 6.0 in Windows xp, Windows Vista.. It is working fine..
But When I deploy it into Windows 2000 server , I am not able to see Last 2 columns of the report page in the Viewer.
But When I tried to Export as Excel, I got all the datas in the Report and also when I preview the report in Eclispe IDE using crystal viewer plugin it is working fine in Windows 2000 server also..
Thanks in Advance for your help..
Regards,
SathiyaMBPSWindows 2000 is not supported in current versions of CR. Check the platforms PDF file.
-
Drill Down Report using Crystal reports in eclipse and jspviewer
Hi
I want to understand how to write a drill down report since I have a requirement for my project, so I tried to run the sample drill down.rpt that is available with Crystal Reports 2008 Complete Reference book by George Peck.
I can see the results correctly( i.e. can drill down) in the preview tab . Since I am working inside the eclipse, the way I run the reports is first "Create report viewer JSP" by right clicking the report and have a url mapping to this jsp. I am running the reports from a hyperlink that maps to the url which will launch the jsp.
the jsp is:-
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="Drill Down-viewer" reportSourceVar="Drill Down" isOwnPage="true" allowDrillDown="true">
<crviewer:report reportName="reports/Drill Down.rpt" />
</crviewer:viewer>
The one that was created by "Create report viewer JSP" did not had "allowDrillDown" attribute at all .But I added it since it isnt working.
So when I launch my web app and click on the link to run the report, I get the report results but only to the summary level. When I double click the summary level I get a 404 error page.
Can please anyone suggest what is going on.
Thanks
poonamOk. So, you added the report to the project. Now we have to add the CR assemblies to the project, add the viewer (if need be) and fire it off. Simplest code would be:
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
CrystalReportViewer1.ReportSource = ("path to report")
End Sub
In this case you are using the viewer SDK to runt he report. The report will prompt for any logon parameters - but you can code these also. You can load the report via the engine as bellow. Again, the report will prompt. I prefer to use the engine as it is way more "extensible"...
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
crReportDocument.Load("path to report")
'Bind the report to the viewer
CrystalReportViewer1.ReportSource = crReportDocument
End Sub
If you have a report added to the project (strongly typed) the code would be:
CrystalReportViewer1.ReportSource = New myReport()
For more details, I'd recommend looking at the sample app vbnet_win_simplepreviewreport.zip available from the following location:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
The developer help files are here:
[SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
[SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
- Ludek -
"Failed to open report" error while running reports using Crystal Report
We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.
Hi,
Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
It might help you!!
Regards,
Amit -
Error in preview report using Crystal Report in SBO 8.81
Hi friends,
I face problem when preview report. I import all my report to server and test it to server. When i preview the reports, it can't run well. It preview the error like this.
Failed to Retrieved data from Database.
Failed to Retrieved data from Database.
Error in File Temp {..... LOTS OF LETTERS AND NUMBERS HERE}{..... LOTS OF LETTERS AND NUMBERS HERE}.rpt:
Failed to Retrieved data from Database.
I don't know , what it means.
the query report runs in store procedure then attach it in crystal report.
Actually , before i import to my user's Server, I test it in my local notebook first. It runs well. I also have tested it in my friend's notebook, it also runs well.
Does any one know how to solve it ?
Thanks in advance
Regards
KKFyi , The Windows is installed in 64 bit, and the sql server is installed in 32 bits. When i analyze in sql profile the parameter date in the crystal report is converted. But when i run it in my local machine(My notebook), the date parameter is not converted and runs well.
Is this the main problem , if the SQL server is installed in 32 bits ?
Thanks in advance
Regards
KK -
Unable to load password protected Accdb file using crystal reports 2008
Hi,
I am trying to generate crystal reports using crystal reports 2008 and in the process, I am internally setting accdb file to all my rpt files .
When i try to map my accdb file (Without passord protection) to all my rpt files, everything works fine and i am able to generate reports.
But, when i try to map the password protected accdb file to the rpt file, it throws me an error saying
"LogOn failed. "
Details : ADO Error Code : 0X
Source: Microsoft Access Database Engine
Description : "Cannot start your appliaction, The workgroup information file is missing or exclusively opened by other users"
SQL State : 3028
I have made sure that none of my applications are running when i try this.
Please find the screenshot for the same.
Please let me know how to resolve this issue as i need to work with password protected accdb files for generating reports.
Thanks in Advance.
Regards,
RamnathHi Ludek,
This is happening in CR designer.
Besides, please find below the additional basic info regarding this
Crystal reports version : 2008
Database connection type : OLE
OLE DB Driver : Microsoft Office 12.0 Access Database Engine OLE DB Provider
Database : Access 2010
Dev Language : VB.Net
Regards,
Ramnath -
Creating Crystal Reports with Crystal Report Server XI
Hello,
I am new to Crystal Reports, i installed Crystal Reports Server XI R2 on Windows 2003 server with SP2 and was able to launch Inforview application and also Central Management Console Log On.
I can also see some sample reports which are installed during installation.
Now my next task is to create Crystal Reports using Crystal Report Server XI R2. How can we create a crystal report now by only using Crystal Report Server XI R2?
Do we have to install some other application to create Crystal Reports? I donot see any link on my server which i can use to create crystal reports. The only links which i can see are :
Business Objects-->
Crystal Report Server-->
.Net Administration LaunchPad
.Net Infoview
Business View Manager
Central Configuration Manager
Data Source Migration Wizard
Data Source Migration Wizard Help
Import Wizard
Online Developer Library
Publishing Wizard
Registration Wizard
Release Notes
Repository Migration Wizard
Please help
Thanks
VipinTwo ways to create reports:
1) You install the Crystal reports Designer (CRW32.exe).
With your Crystal Report Server, you should also have received a second CD that would have the CR designer.
2) You use the RAS SDK and create reports on the fly using the RAS report creation APIs - .NET or Java. Since you are in the .NET developer forum, I assume you might be interested in the .NET RAS SDK. Here is a list of resources i would recommend:
Links to samples are [here|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/netBusinessObjectsEnterpriseSDKSamples]
[How to use the RAS SDK .NET with In-process RAS Server|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32]
[Programing RAS|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050afe0-2fa5-2b10-658d-98f214ba6a4a]
[Choose the Right SDK for the Right Task|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc]
For more help, search these forums (there are some great posts in here), the [notes database|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true]
[articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles] and [downloads|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
Ludek -
Open ECC report in Crystal Reports
Hi,
Question, hope you have some info on this...
I want to try & open a custom report which is built in an ECC system (report is currently run as a "Yxxx" transaction) in Crystal Reports. Purpose is to further edit and format the report using Crystal Reports functions.
Does anyone know what path to follow here? Do I have to set up a new connection for the given source system?
Thanks for any tips advice.
Ps. I have Crystal Reports 2008 and also the BI Integration Kit (not sure if this is used / required).
Thanks,
WillemThere are transports that the SAP Integration Kit delivered. you may have already installed this on your BW, but they would need to be installed on ECC if you want to query there. Once these are installed, Crystal should be able to see an SAP - Table, Cluster, Function Data Connection allowing you to connect to your ECC.
You should review the SAP Integration Kit doc - it spells out authorizations required, how to handle security, etc. -
Problem deploying OLAP report to Crystal Reports Server
I have developed a simple OLAP cube report using Crystal Reports Developer (11.0.0.1.1282). The report correctly previews and shows values against the cube that I have chosen as the datasource. The datasource is not my local computer but another computer (on the same network) that contains an Analysis Services 2005 cube. Crystal Reports Server (11.5) is installed on the same computer that contains the datasource.
Using the CMS I uploaded the OLAP cube report to the server. After that was finished I changed the "When viewing report" radio button to "Use same database loging as when report run" in the Process/Database setcion. I logged into the InfoViewer and navigated to the report and executed it. When the report executes I get the following error:
Crystal Reports: Print Engine Error
Unable to retrieve Object.
Crystal Reports: Print Engine Error
I wanted to make sure that the server was running correcly as it is a fresh install. So I created a standard report that connects to a SQL Server 2005 datasource and displays the contents of a table. When I uploaded this report to the Crystal Report Server it rendered correctly.
What do I need to do to make the OLAP cube report render correctly?I'm not sure about using OLAP with CR on the server, maybe someone else will have more input on that.
When using OLAP on the server I recall that you must install PTS (it was like OLAP - ODBC) but it didn't require any config just to be installed on the server.
You mentioned CR 11.0 what version is the server? I don't believe SQL 2005 analysis services was ever tested with XIR1 (version 11). You can check the supported platforms by clicking the business obejcts link above and selecting articles, then your version.
Do you have olap intelligence? That was a seperate product on version 11 that was used to create .car reports off of OLAP.
Regards,
Tim -
Hi
I am having problem on using Crystal Report Viewer on one of my windows application.
I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
Please see the Code sample below.
private sub loadReport()
Dim r as New ReportDocument
'v is the name of the Crystal ActiveX Report Viewer Control
r.Load("C:\Report1.rtp")
v.ReportSource(r) <---It throw error on this line.
End Sub
Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
Thanks in advances.
Many thanks
ChiVS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
-MJ -
How to use Crystal Reports XI in SBO 2004 ?
Hello,
I´m making an Add-on in VB .Net and need to show a report from Crystal Reports XI (a .rpt file). My Add-on is a Console Application. From what i have read from this forum the best way is to use a Windows Form (not a form from SBO) with a "Crystal Report Viewer". How is this done exactly?
1 - What refences to include in the project?
2 - How to assign to Crystal Report Viewer to the Windows Form?
3 - How do i change in VB .Net code (that is, in runtime) the datasource from the .rpt file?
Can you please give a code example.
Thank You.
Jorge LopesThanks Ibai.
My code to change DataSource is:
Try
Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rpt.Load(strPath & RELATORIO_ORCAMENTO)
'/ Inicio
Dim rptTableLogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
Dim rptConnectionInfo As New CrystalDecisions.Shared.ConnectionInfo
Dim rptTables As CrystalDecisions.CrystalReports.Engine.Tables = Nothing
Dim rptTable As CrystalDecisions.CrystalReports.Engine.Table = Nothing
With rptConnectionInfo
.ServerName = ODBC_DATASOURCE
.DatabaseName = objCompany.CompanyDB
.UserID = System.Windows.Forms.SystemInformation.UserName
End With
rptTables = rpt.Database.Tables
For Each rptTable In rptTables
rptTableLogonInfo = rptTable.LogOnInfo
rptTableLogonInfo.ConnectionInfo = rptConnectionInfo
rptTable.ApplyLogOnInfo(rptTableLogonInfo)
rptTable.Location = rptTable.Location
Next
If (rpt.Subreports.Count > 0) Then
ActualizaSubReports(rpt.Subreports, rptConnectionInfo)
End If
'/ Fim
rpt.SaveAs(rpt.FileName)
rpt.Close()
Catch ex As Exception
objApplication.MessageBox(ex.Message)
End Try
Jorge Lopes -
I couldn't use Crystal Report Viewer Control in my ASPX page.
Please I'm having a problem with crystal report viewer control which I couldn't resolve. I'm using VS 2008 and Framework 3.5.
I building an ASP web application and when I add a CrystalReportViewer to my ASPX page I'm getting the following
error.
"Error 20 Type 'CrystalDecisions.Web.CrystalReportViewer' is not defined."
I think maybe because I'm not having the right reference file. I'm using Crystal Reports 2008 and also I installed the following
Service Packs:
cr121_redist_install
CR2008-SP1
CR2008SP1-Fixes 1 and 2
cr121_clickonce
I check all the reference files in my project and they are as follow:
CrystalDecisions.CrystalReports.Engine (12.0.2000.0)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.Enterprise.Framework (12.0.1100.0)
C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.Framework.dll
C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.InfoStore.dll (12.0.1100.0)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.ReportSource.dll (12.0.2000.0)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.Shared.dll (12.0.2000.0)
Please Why I'm getting this problem? How I can resolve it?
Thanks.If you have a viewer on one of your forms, delete it off the form and re-add it, ensuring that the crystalreports.web assembly referenced in your project is version 12.
Ludek
Maybe you are looking for
-
Configuring Cisco ASA for site to site VPN ( Issue with setting up local network)
OK, so our primary firewall is a checkpoint gateway. Behind that we have a cisco ASA for vpn users. I have a project at the moment where we need to connect to another company using site to site VPN through the cisco ASA, as the checkpoint gateway is
-
Cropping 16:9 video in Compressor for output in 3GPP format
Hi all, We need to regularly batch convert video for a client, from a 16:9 original to 3GPP's 176x144 ratio by cropping and resizing in Compressor. However, when setting up the encoding settings for 3GPP output, the Geometry fields are greyed out, me
-
How to delete the history on iPad in safari. Even if i delete the historie via the open book icon or via the preferences, even if the history seems blank if i click on the back arrow i CAN get all the previous visitée websites...how CAN i definitivel
-
Ive synced one of two iPods .. the message i get now is ,The iPod could not be synced or found by the network .. and i have two sepate accounts ...
-
Compare Oracle 10g & Oracle 11g
Hi All, May i know the major differnece between the oracle 10g Vs oracle 11g. Regards S.Senthl Kumar