Telerik Forums
Reporting Forum
1 answer
169 views
Does the current version of Telerik reporting support Framework 4.0 Client Profile and if not is it planned?

Thanks, George
Steve
Telerik team
 answered on 13 May 2010
1 answer
161 views
Hello,

I am currently trying to export a report as a PDF in code (from a WCF Service specifically) and I believe that I have that working correctly, but when i save the report and open it manually it complains and says

"An error has occured while processing Report '':
Unable to connect to database. Please verify that your connection string is valid; in case you use a connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application."

I don't know how to check what the problem is because when I open this same report in a WPF Report Viewer code, it works just fine. If I export the report from that Report Viewer and open it however, I do not get the error.

Basically, I only get this error on this report when in code. I have not gotten this on any other report or in any other fashion on this report.

If anybody knows something that I can check or set to make this work then that would be great.


I just updated my program and it turns out that the report no longer works in the report viewer. The data works just fine in the Preview but when I actually build the project or try to deploy it, I get the afore mentioned error.
Steve
Telerik team
 answered on 13 May 2010
2 answers
143 views
Hi,

Telerik, I am in greate trouble, I have faced this problem so many times. 
During last 5 days, it is coming so often, and every time I have no other option but to create the report again.

I have attatched the detailed image of error, please check this and suggest how we can solve this problem.

We are using "Reporting Q1 2010" version.

Also please tell us how we can bind the sub report, here I am posting my code but this is not doing any thing,
Infact during this process I have been facing the reported error this time. I have created this report almost 6 times
and every time during the sub report binding I came up with this error.

<Format Code Block>

        private void AsapBillingTransactions_NeedDataSource(object sender, EventArgs e)
        {
            DataSet ds_SubReport = new DataSet();

            command = new SqlCommand();
            command.CommandType = CommandType.StoredProcedure;
            command.Connection = connection;
            command.CommandText = "sp_ASAPBilling1";
            command.Parameters.Add(new SqlParameter("@OrgID", OrgID));
            command.Parameters.Add(new SqlParameter("@FromDate", FromDate));
            command.Parameters.Add(new SqlParameter("@ToDate", ToDate));

            adapter = new SqlDataAdapter(command);
            adapter.Fill(ds_SubReport);

            this.subReport1.ReportSource.DataSource = ds_SubReport;

        }
  

<Format Code Block>


Certainly found more errors.
One of reports in my project is working well, I am able to preview the report in my reporting project, but creating dll of reports project, when I use it with my web application, it is giving error, I have also attatched the image with error named"ConnectionStringError".


Steve
Telerik team
 answered on 13 May 2010
1 answer
138 views
Hi,

I noticed the following item in the release notes for 2010 Q1 SP1:
http://www.telerik.com/products/reporting/whats-new/release-history/q1-2010-sp1-version-4-0-10-421.aspx

> FIXED: Web report viewer throws exception when parameters are defined and out-proc session is used

Can someone explain what this means? Does the parameter-less design requirement for reports used with out-proc session still hold? (http://www.telerik.com/support/kb/reporting/report-viewers/design-considerations-for-out-proc-session-state.aspx)

Does anyone know if/when better support for out-proc session will be introduced to the Reporting library?

thanks,
jason




Steve
Telerik team
 answered on 13 May 2010
1 answer
100 views
is there a way to set what reports are returned by the report service?  for example role based security.  So sales can access general reports, sales managers can access kpi reports..

it seems to use reflection and return all reports matching IReportDocument
Peter
Telerik team
 answered on 13 May 2010
7 answers
810 views
Hello
I'm looking to be able to Print Bar Code labels straight to a Zebra printer, from a web-based .NET application using Telerik Reporting.
Is it feasible ?
Any information will be appreciated

Thanks
Pierre
dunk harvey
Top achievements
Rank 1
 answered on 12 May 2010
1 answer
121 views
Hai Friends,

I developed one module using telerik report..It is working fine in my local machine.But after preparing the installation kit of that module and install on server.I was unable find the report.I added all the telerik report dll's too.

Do we need to install the telerik report on the server too?

Please suggest me soon.

Thanks
Basanth
Svetoslav
Telerik team
 answered on 12 May 2010
1 answer
231 views
Hello,

I am trying to connect to an Oracle Database using ODP.NET
I am able to create a SQL Data Source without any issues with ODP.NET and to my database server. The problem is when i create my query and try to execute the query in the wizard i get an error. And the error dialog box only says Oracle.DataAccess.Client.

Please help i am really stuck here

Thanks

Nitin K Koka
roberto
Top achievements
Rank 1
 answered on 11 May 2010
7 answers
601 views
When I use the following code my detail section (backDetail) doesn't show. It is like it is completely ignoring it. Why?

RalphsReportDuplex report = new RalphsReportDuplex();  
 
                RalphsPostcardFront01 front = report.PostcardFront.ReportSource as RalphsPostcardFront01;  
 
                Telerik.Reporting.DetailSection backDetail = new Telerik.Reporting.DetailSection();  
                backDetail.Name = "PostcardBack";  
                backDetail.ColumnCount = 2;  
                backDetail.Height = new Telerik.Reporting.Drawing.Unit(4.05F, Telerik.Reporting.Drawing.UnitType.Inch);  
 
                Telerik.Reporting.SubReport backSubReport = new Telerik.Reporting.SubReport();  
                backSubReport.Height = backDetail.Height;  
                backSubReport.Location = new Telerik.Reporting.Drawing.PointU(  
                    new Telerik.Reporting.Drawing.Unit(0F),  
                    new Telerik.Reporting.Drawing.Unit(0F));  
                backSubReport.Size = new Telerik.Reporting.Drawing.SizeU(  
                    new Telerik.Reporting.Drawing.Unit(5.10F, Telerik.Reporting.Drawing.UnitType.Inch),  
                    new Telerik.Reporting.Drawing.Unit(4.05F, Telerik.Reporting.Drawing.UnitType.Inch));  
                RalphsPostcardBack01 back = new RalphsPostcardBack01();  
                backSubReport.ReportSource = back;  
 
                report.Items.Add(backDetail);  
                backDetail.Items.Add(backSubReport); 
Adrian Segovia
Top achievements
Rank 1
 answered on 11 May 2010
1 answer
121 views

I want to make a report with lot of data on chart, I have datasource which defines up to 30 series each series has up to 500 items

How to define pagebreak, so I have several pages with charts , such way that on each chart is displayed only max 20 items from each serie

See On picture details section contains two legends: One legend is provided by Telerik.Chart, and the legend on bottom is my control

When list of items in serie is very long it does not look good on a single page.

1) I have implemented approach of using event OnNeedDataSource to bind data for chart,how to use it with pagebreaks ?

2) I want also to remove text labels on each item of serie - can you tell where I shoud modify value, because series are populated after event OnNeedDataSource. Is it possible to setup in design time even when there is no series?

3)Gradient colors I want to replace with solid color - I have changed everything in designer to be 'Solid' FillStyle but report is still displaying gradient,does it depends on my usage of custom palette ?

Peter
Telerik team
 answered on 11 May 2010
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?