Telerik Forums
Reporting Forum
6 answers
163 views
I previously developed some reports with the Q2 trial release, then just purchased the full version of Q3, and I'm having lots of problems with the reports even after successfully running the upgrade wizard.

To simply/isolate the problem, I've performed the following steps with no luck:

1. create new Windows Forms application called BusinessObjectDataSourceReporting.
2. create a new class called Person:
using System; 
 
namespace BusinessObjectDataSourceReporting { 
  public class Person { 
    public string LastName { getset; } 
    public DateTime DateOfBirth { getset; } 
  } 
 
3. Build project
4. Drop a telerik "ReportViewer" onto Form1.
5. Add new item to project, select template "Telerik Report 2009 Q3", name it PersonReport. When wizard pops up follow the basic options...
    1. Click next
    2. New Report, click next
    3. Create new datasource
    4. Select "Business Object"
    5. select BusinessObjectDataSourceReporting.BusinessObjectDataSourceReporting.Person
    6. Next, next, etc., finish...

The report is produced with NO fields in the details section. The Data Explorer window shows "No Data Source".

I also tried creating the datasource first in visual studio, then selecting it as an "existing data source" in the report wizard, with the same results.

Oddly, the report's "DataSource" property appears properly set to BusinessObjectDataSourceReporting.Person.


It seems like this is a pretty basic task, am I missing something obvious? Thanks!

Michael


Adrian Segovia
Top achievements
Rank 1
 answered on 13 May 2010
1 answer
152 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
147 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
120 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
114 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
86 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
762 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
102 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
212 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
546 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
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?