Referenced component 'Telerik.Reporting' could not be found

6 posts, 0 answers
  1. Scott Buchanan
    Scott Buchanan avatar
    38 posts
    Member since:
    Dec 2008

    Posted 09 Jul 2012 Link to this post

    I'm not sure if this belongs here or in the Silverlight forums.  I have a 14 project solution with a reporting project that references a SilverIight project (gauges) and 4 of the Telerik Silverlight dlls.  I have just upgraded from Telerik 2011 Q3 to Telerik 2012 Q2.  One of the major changes is that the RadControls for Silverlight default install now support only Silverlight 5.0 (I know I can get DLLs for 4.0, but thought it was time to move on).  Silverlight 5.0 requires .NET 4.0, so I have had to change the Target Framework to .NET 4.0 on my Silverlight project and then the reporting project.  However, as soon as i changed the Target Framework on the the reporting project, the "Telerik.Reporting.dll' item in the project's references list has an exclamation icon next to it and the project throws the error "Referenced component 'Telerik.Reporting' could not be found" on compilation.

    I spent a day chasing my tail last week when I first attempted to upgrade the solution to the latest and greatest.  I could never find the right combination of Target framework / App pools, etc. to get the app to run.  There were warnings about assemblies with dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure for Telerik.Windows.Themes.Office_Blue and 2 of my project dlls.  So, I started over and decided to stop at the first error I could not resolve and get help.

    I have removed the reference to 'Telerik.Reporting' and re-added it more than once.  The properties panel for it is blank - version 0.0.0.0, no description or path, etc.

    Pleasse let me know if additional information is required for your understanding.

    Best,
    Scott
  2. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 12 Jul 2012 Link to this post

    Hello Scott,

    Have you by any chance set the target framework of your reporting project to .NET 4.0 Client Profile? If that is the case you should know that Telerik Reporting supports only the full .NET 4.0 framework.

    Additionally we have tested our Silverlight Report Viewer (6.1.12.611) with RadControls for Silverlight 5 and everything works fine at our end. In that case it will be best if you are able to send us a runnable sample that exhibits the problem so that we are able to reproduce it at our end and advice you accordingly.

    All the best,
    IvanY
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  3. DevCraft banner
  4. Scott Buchanan
    Scott Buchanan avatar
    38 posts
    Member since:
    Dec 2008

    Posted 12 Jul 2012 Link to this post

    Greetings!  I verified that the reports project is set to ".NET Framework 4".  However, it is using the web viewer, not the Silverlight viewer.  This wasn't a problem with 2011 Q3, and may not be a factor now, but I notice you specified that viewer in your reply.  Does the 2012 Q2 web viewer support Silverlight 5?
    Best,
    Scott
  5. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 13 Jul 2012 Link to this post

    Hi Scott,

    The ASP.NET Report Viewer has nothing to do with the controls for Silverlight 5. It is not very clear for us what is your setup and what you are trying to achieve - please elaborate on your issue. Additionally you can send us screenshots, or as stated in the previous ticket - a runnable sample.

    Greetings,
    IvanY
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  6. Scott Buchanan
    Scott Buchanan avatar
    38 posts
    Member since:
    Dec 2008

    Posted 13 Jul 2012 Link to this post

    "runnable sample" - If the project ran, I wouldn't be on the forum :)

    The situation is that once I upgraded the report project to .NET Framework 4 (due to Telerik Silverlight control references), the Telerik.Reporting.dll has a exclamation mark next to it on the references list (see BTW_Image1.png) and the project reports this error on compile:
    The referenced component 'Telerik.Reporting' could not be found.  

    What this is leading up to is when I build the entire solution, there are warnings about runtime errors due to .NET Framework
    The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: AMAPA.Reports.  The dependencies are: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.  

    And, sure enough, the site no longer loads.

    Is there some data I am faiing to present regarding the issue I am having?
  7. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 17 Jul 2012 Link to this post

    Hi Scott,

    Apologies for the misunderstanding with the "runnable" project - what we mean by saying runnable is to send us a project that is not dependent on databases/assemblies/etc that we do not have or if it is dependent to send us the respective databases/assemblies as well. In your case "runnable" would mean that without the issue you are experiencing the project would run, or in other words once we fix your issue locally the project would be runnable.

    Also please have in mind that you are the first one that reports such a problem and we are not able to reproduce the issue locally. Because of that we would highly appreciate if you provide us with additional details about your setup or send us the solution with the projects.

    Additionally from the error message it seems that you have not updated all the projects in the solution and some project might still be built against an older .NET framework. Please have in mind that you cannot reference projects and assemblies which target a higher framework than the current project - that is if your project targets .NET 2.0 you will not be able to add references to assemblies built against 4.0 for example.

    Regards,
    IvanY
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Back to Top
DevCraft banner