Reporting 2015 Q1 SP1 Two or more sub report datasource error.
All sub report is loaded first sub report datasource.
Please reply as soon as possible, thank you.
Is there any update on support for reporting from C++? Any plans for that?
Has anyone used the COM interop approach to create a typelib for the managed dll of the reporting engine or alternatively used CLI to call it from C++?
We're using the ReportViewer control with the Standalone report designer in a VB.net website.
The designer's .trdx files are uploaded to the server, which are then serialised to XML and stored for later use. When the reports are run, we convert the report to a Telerik.Reporting.InstanceReportSource
like this (just the relevant code here, the objects also load parameters into the report object but the issues occur even when there are no parameters present in the report):
Private _ReportObject As Telerik.Reporting.Report
Private _oInstanceReportSource As Telerik.Reporting.InstanceReportSource
ReportObject = DirectCast(New Telerik.Reporting.XmlSerialization.ReportXmlSerializer().Deserialize(New System.IO.StringReader(_ReportXML)), Telerik.Reporting.Report)
_oInstanceReportSource.ReportDocument = ReportObject
We change the connection string to point to the local database and run the reports from there using code from the forum here, and bind the report to the control using the instanceReportSource
rptView.ReportSource = _oInstanceReportSourcerptView.DataBind()We've made sure to only use the reporting engine data sources (sqldatasource) and we're able to change all the connection strings from whatever they were set up with in the report using code we pulled from the forums here.
So far, so good.
We have intermittent errors:
Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' modeHowever, it's not consistent. Refreshing the page a few times (sometimes once, sometimes 12 or so refreshes) will eventually lead to the report working correctly.
It's a big production environment where we're using StateServer mode and using inProc session state isn't possible. It happens on our dev machines when we're using local IIS as well as our test server.
Hi,
Is there any way to use Byte array (which I convert from PDF) as an instanceReportSource?
Here is my scenario, I need to generate TWO report, say Report A and Report B. Report A is a subset of report B. Report A is generated first (at the beginning of the business cycle), then saved as byte array (in the database). then at the end of the business cycle, I need to generate Report B, which half top of it is exactly a copy of Report A. How can i achieve this using the byte array off Report A i already have?
Thanks & Regards,
Rafa
I made this (attached) using 3 htmlblocks. However in the future I need it to come from the database.
Is there anyway html or rich-formatted-text could come from a single column in a dataset and spread across 3 columns?
In my other reports I have html from the DB displayed, but I do not have it in 3 columns.
I have a report with a parameter set at the datasource level to pull the Top N results from the database.
I would like to be able to display the current value of the Top N datasource parameter in a text box in the body of my report.
Is there a way to do this simply?
i.e.
Datasource Parameter: @topCount
Text Box: Top {@topCount} Records by Total