Can't create report

4 posts, 0 answers
  1. Zbigniew Kozłowski
    Zbigniew Kozłowski avatar
    60 posts
    Member since:
    Apr 2010

    Posted 26 Apr 2010 Link to this post

    Hi,
    im new in reporting, and just wanted to add report to mine project, but when i create a reporte file ive got an error:
    Could not find type "Telerik.Reporting.Report". Please make sure that the assembly that contains this type is referenced......
  2. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 29 Apr 2010 Link to this post

    Hello Zbigniew Kozłowski,

    Do you follow our best practices to first create a class library that contains your reports and then reference that class library in applications that view the reports? This way you can have any number of Windows or Web viewing applications that get re-use out of the same class library.

    Check out the following help article Creating a Simple Report for detailed explanation of how to create a report.

    All the best,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Scott R
    Scott R avatar
    63 posts
    Member since:
    Jun 2008

    Posted 04 Jun 2010 Link to this post

    You might want to check your Framework Target as it appears that Telerik reporting does not work with Framework 4 Client Profile (which is the default if you create an Outlook Add-In project).

    Telerik.Reporting.dll has the following dependencies which are (I assume) not part of the Framework 4 Client Profile:

     

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "Telerik.Reporting, Version=4.0.10.421, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.  
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "Telerik.Reporting, Version=4.0.10.421, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.  
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3253: The referenced assembly "Telerik.Reporting, Version=4.0.10.421, Culture=neutral, PublicKeyToken=a9d7983dfcc261be, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.  
     
  5. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 07 Jun 2010 Link to this post

    Hi Scott R,

    You are correct .NET Framework 4 Client profile, is not supported by Telerik Reporting. In order to make it work you have two options:

    • change the target framework to .NET 4 Framework (not the client profile)
    • add a separate class library to hold your reports as suggested in the Best Practices and Quickstart help articles. 

    Best wishes,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top