This is a migrated thread and some comments may be shown as answers.

Basic Reporting Example

9 Answers 489 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 27 Dec 2007, 11:04 PM
Dear Telerik,

I am evaluating the Telerik Reporting product.  Can you point me to a simple example of how to implement this?  I basically need to know how to create a simple report and connect it to a data source.  I can add complexity after I understand the basics.  Please advise.

Thanks,

Woody

9 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 28 Dec 2007, 08:17 AM
Hi Jim,

You can learn how to create a simple report from this help topic.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 31 Dec 2007, 05:56 PM
Hi Ross,

I keep getting the follwing error when trying to design a report. 

Package Load Failure

This error occurs right when I add the Telerik report control.

Please advise,

Woody
0
Svetoslav
Telerik team
answered on 02 Jan 2008, 03:47 PM
Hi Jim,

We have never experienced such a problem before and in order to help you we need some more information:
  • Visual Studio version
  • OS version
For more information regarding the minimum system requirement for Telerik Reporting please see this page.

From the error message it seems that you have problem with one of the Visual Studio packages and not explicitly with Telerik Reporting. However, the exact reason is not clear. You may try some of the advices we found here.

We are looking forward to hearing from you whether any of this is helpful.

Kind regards,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 03 Jan 2008, 12:07 AM

Hi Svetoslav,

I encountered this issue on my workstation which is running Vista with Visual Studio 2005.  I tried installing Telerik Reports on my laptop (XP/Visual Studio 2005) and it works fine.  My laptop is the web server and the database server.  My workstation references another server as the web/database server.  Do I need to install Telerik Reports on the database server in order for it to work?  Please advise.

Thanks,

Woody

0
Rossen Hristov
Telerik team
answered on 03 Jan 2008, 09:28 AM
Hello Jim,

Can you tell us the exact version of your Visual Studio 2005, i.e. Express/Standard/Professional etc. The "Visual Studio Explorers and Designers Package" that has failed to load is Microsoft's and probably your VS installation is corrupt. Can you try to open a new Windows Form and see whether it will work. Did you try to follow the steps that are described in the article we already wrote about:

What to do if I get package load failures in the final release of VS 2005?

In case you have not, please try them.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 03 Jan 2008, 05:37 PM

Hi Ross,

To clarify, I want to add a Telerik Report to a web site, not a project.  When I Add->New->Telerik Report 2.0 to my website, I do not get the package load failure like I did when I tried to add a Telerik Report 2.0 to a project.  However, I also do not get the report wizard.  I don’t necessarily need to use the wizard as long as I know the steps it takes to create the report manually. 

Do you have a simple example of creating a web report with Telerik Report 2.0 similar to the one you sent me for a project?  

To answer your questions:

  1. Yes, I can add a form to my project without package load failure.
  2. Here are the details of my Visual Studio installation:
Microsoft Visual Studio 2005  
Version 8.0.50727.867  (vsvista.050727-8600)  
Microsoft .NET Framework  
Version 2.0.50727  
 
Installed Edition: Enterprise  
 
Microsoft Visual Basic 2005   77718-007-4000003-41402  
Microsoft Visual Basic 2005  
 
Microsoft Visual C# 2005   77718-007-4000003-41402  
Microsoft Visual C# 2005  
 
Microsoft Visual J# 2005   77718-007-4000003-41402  
Microsoft Visual J# 2005  
 
Microsoft Visual Studio 2005 Tools for Applications   77718-007-4000003-41402  
Microsoft Visual Studio 2005 Tools for Applications  
 
Microsoft Visual Studio Tools for Office   77718-007-4000003-41402  
Microsoft Visual Studio Tools for the Microsoft Office System  
 
Microsoft Visual Web Developer 2005   77718-007-4000003-41402  
Microsoft Visual Web Developer 2005  
 
Microsoft Web Application Projects 2005   77718-007-4000003-41402  
Microsoft Web Application Projects 2005  
Version 8.0.50727.867  
 
Visual Studio 2005 Team Edition for Architects   77718-007-4000003-41402  
Microsoft Visual Studio 2005 Team Edition for Software Architects  
 
Visual Studio 2005 Team Edition for Developers   77718-007-4000003-41402  
Microsoft Visual Studio 2005 Team Edition for Software Developers  
 
Visual Studio 2005 Team Edition for Testers   77718-007-4000003-41402  
Microsoft Visual Studio 2005 Team Edition for Software Testers  
 
Microsoft Visual Studio 2005 Team Suite - ENU Service Pack 1 (KB926601)     
This service pack is for Microsoft Visual Studio 2005 Team Suite - ENU.   
If you later install a more recent service pack, this service pack will be uninstalled automatically.   
For more information, visit http://support.microsoft.com/kb/926601  
 
Security Update for Microsoft Visual Studio 2005 Team Suite - ENU (KB937061)     
This Security Update is for Microsoft Visual Studio 2005 Team Suite - ENU.   
If you later install a more recent service pack, this Security Update will be uninstalled automatically.   
For more information, visit http://support.microsoft.com/kb/937061  
 
SQL Server Analysis Services     
Microsoft SQL Server Analysis Services Designer   
Version 9.00.3042.00  
 
SQL Server Integration Services     
Microsoft SQL Server Integration Services Designer  
Version 9.00.3042.00  
 
SQL Server Reporting Services     
Microsoft SQL Server Reporting Services Designers   
Version 9.00.3042.00  
 
Telerik Reporting   2.0  
For more information please visit http://www.telerik.com/reporting  
 
Update for Microsoft Visual Studio 2005 Team Suite - ENU (KB932232)     
This Update is for Microsoft Visual Studio 2005 Team Suite - ENU.   
If you later install a more recent service pack, this Update will be uninstalled automatically.   
For more information, visit http://support.microsoft.com/kb/932232  
 
Application Styling Console  
For more information about Application Styling, please see the Infragistics, Inc., website at  
http://www.infragistics.com  
Copyright (c) 2007 Infragistics, Inc. All Rights Reserved.  
 


Thanks,

Woody

0
Rossen Hristov
Telerik team
answered on 04 Jan 2008, 08:54 AM
Hello Jim,

Each report is a .NET class like any other. There is no such concept such as Web Report or Project Report. Reports are the same no matter what type of project they are in. The only difference is the viewer that is used to display them. There is a WebViewer, which is an ASP.NET control and you can use it only in projects of type WebSite or WebApplication, and a WinViewer, which is a WindowsForms control and you can use it in WindowsForms projects. You can create all of your reports in a Class Library project and use them both in Win and Web applications simultaneously, since the reports are one and the same, no matter the project they are used from. For more information on organizing your solution, please read the Best Practices section. We advise our customers to place their reports in a Class Library project and the reference that project from their Win or Web project.

Having clarified all of the above, the topic for creating a simple report is the topic that you should follow, since there are not separate topics for WinForms and WebForms.

As for the package load failure, we really think that there is something corrupt with your Visual Studio and you might need to re-install it, since as far as we understand everything works fine on your XP machine. You did not mention whether you performed the steps that we sent you or not.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 04 Jan 2008, 05:37 PM
Hi Ross,

Thanks for the information.  Is there any reason why the report wizard doesn't appear when adding the Telerik Report 2.0 object to a web project?

Thanks,

Woody
0
Rossen Hristov
Telerik team
answered on 07 Jan 2008, 08:55 AM
Hi Jim,

The reason for that behavior lies in the architecture of the Visual Studio WebSite project. Files inside the App_Code folder are not treated as designable components.

By the way, did you manage to fix your Visual Studio installation and resolve the Package Load Failure?

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Jim
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Jim
Top achievements
Rank 1
Svetoslav
Telerik team
Share this question
or