I have created a report with C1Report Designer and show this report in a web form with the C1ReportViewer.
The report works fine, but if I add a chart control in the report, the error message "File is not a valid C1MDX file" appears.
If I show the preview in the report designer, I see the result without error.
How can I use a chart in my report?
Thanks
Peter
You need to add C1Chart.x.dll and C1.C1Report.CustomFields.x.dll (where x is .NET framework ver 2 and 4) in your application to display charts.
Thanks,
Richa
Related
Dear all I am working on an asp .net application in which I am using crystal report for showing reports.
In my application everything works fine including the reports. The real problem comes when I start clicking on the crystal report toolbar. If I click on any buttons on the crystal report tool bar like (Export, next page ...etc.) it is asking parameters again. Is there any way so that that the crystal report viewer does not ask the parameter that I have already given ?
I have also given true for the property reuseparametervaluesonrefresh. i am passing parameters to the report document.
ReportDocument rd = new ReportDocument();
rd.SetParameterValue("#Date", Request["Date"]); CrystalReportViewer1.ReportSource = rd;
try to change Crystal Report Parameter type from Date to String.
I am having a hard time with this one and I assume it is something I am missing as always.
I am using Visual Studio Web Express 2012. I have installed Report Builder and Report Viewer 11. I have created a generic report file in the report builder as I can not seem to view any designer view in Visual Studio. Not the issue. I am pulling data from my SQL database as usual and populate a dataset. All is fine from here. I can not seem to get the data to show in the report view but can not figure out what I am missing. I have looked everywhere on the web as well as Stack specifically. I have used some of the sample codes and have gotten the report to now show up but still no data. Any help would be great.
I create a generic report file in report builder. No fields, no title etc., just the generic report. This may be my issue but I can not seem to figure out what I am missing.
On my page load I populate the dataset as always with no problem as I can display the data in a label etc.
I add the report viewer to my page and add the following code to the page load after the dataset fill. I also noted that you must use if page.postback = false as Ajax seems to not like it otherwise and just seems to loop and continue loading forever.
I have tried many different code ideas but found I finally got the report to load (again no data) with the following.
rv1.Reset()
rv1.LocalReport.DataSources.Clear()
Dim rds As New ReportDataSource("DataSet1", tempDS.Tables(0))
rv1.LocalReport.ReportPath = Server.MapPath("\tests\test.rdl")
rv1.LocalReport.DataSources.Add(rds)
rv1.LocalReport.Refresh()
Again this is VB.Net webpage. What am I missing? Thanks in advance.
Did you bind the datasource? Sorry if i'm wrong, but in C# asp.net you need to bind the datasource after using an atribution.
I've created a simple report in vs.net 2008 with stimulsoft report 2013.
I'm using these codes to show report:
StiReport1.RegData(ds)
StiReport1.Render()
StiReport1.Show()
when I click on the button I Can see the report correctly for the first time.
but when i close the reportviewer's Windows and click on that button again the
report is empty (I can see the header or footer but no data loaded on the report)
I think the report data not load again or something saved on cache.
please Help.
Thanks
SOLVED
Try this code. its work for me
StiReport1.Dictionary.DataStore.Clear();
StiReport1.Dictionary.Databases.Clear();
StiReport1.Dictionary.DataSources.Clear();
StiReport1.BusinessObjectsStore.Clear();
StiReport1.RegData(ds)
StiReport1.Dictionary.Synchronize();
StiReport1.Compile();
Try this method:
StiReport1.ResetRenderedState();
The problem solved.
I should just save the report and load it each time:
Dim rpt As Stimulsoft.Report.StiReport = New Stimulsoft.Report.StiReport
rpt.Load("report/MyReport.mrt")
rpt.RegData(ds)
rpt.Render()
rpt.Show()
You need to reset your Viewer before rendering. Use ResetReport() function before Reg and Render codes.
I'm trying to either print or export some Crystal Reports in asp.net
web application. The reports were made with CR 10.5, get their data
from an SQL Server 2008 database.
When I print or export to PDF, a bunch (but not all) of the fields are
skipped. I've
confirmed that the reports work fine in the viewer and designer, but
not when trying to view or export
1) Some fields are always skipped.
2) The same fields seem to be skipped.
Any suggestion or help is appreciated.
try this...
bind your crystal report viewer in page_init() method or check your page postback event...
When we are trying to create a new page through a PageType in Tridion UI.It is throwing below error --
"The item tcm:280-29837-64 does not exist."
Is it the Id of the page which i want to create,as it is no more exists in the tridion?
Could any body help me out in this regard ?
Note :-we defined the pagetype to those pages which already exist and published.
Edit-1 When we click on the 'Create Page' button(see the attached screenshot), above mentioned error Pops up.
In the cd_core.log file below error and warning comes --
ERROR XMLConfigurationReader - Error while validating file 'cd_ambient_conf.xml' with schema 'schemas/cd_ambient_conf.xsd'. cvc-complex-type.2.4.a: Invalid content was found starting with element 'ClaimStoreProvider'. One of '{Cookies}' is expected.
WARN AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised
Edit-2 Now errors related to AmbientDataWork are resolved but we are still getting same issue. There are two options in UI (a) "New Page" (b) Create and insert Content. This error also comes when we go with the option "Create and Insert Content". On each click of "Create Page" or "Create and insert Content" it generate a new Id(XXX-59248 -64 then XXX-59249- 64 etc) for page and same way for component also and throws above mentioned error message.
Note:- We are using IIS 6.
Edit-3 - I am using VB script in my page templates.
If someone is using VB script page template,it is required to install UI_2012.0.0.81248 hotfixes to create new pages in UI 2012.
I was not aware about this so fact of using VB script is not mentioned anywhere in the question .So I am updating my question again to assist community member in right direction.
It "looks like" the creation of the page somehow fails on the CM side (but i'm doing an awful lot of interpretation here based on very limited data...).
Can you verify
1. that you can create pages in the content management explorer in the publication with ID 280
2. that your blueprint context settings for UI 2012 are correct (should the new page/component be created in the publication with ID 280?)
3. that you have no workflow or event system interfering with the creation of the page
I would also expect an event log entry in the Tridion/Tridion Content Manager event log which would contain a detailed stack trace...