Error HRESULT E_FAIL has return from call to a COM component.

2 posts, 0 answers
  1. Shakti SIngh Dulawat
    Shakti SIngh Dulawat avatar
    89 posts
    Member since:
    Oct 2009

    Posted 22 Dec 2011 Link to this post

    I have a problem while I am trying to add telerik reportviewer in silverlight application.
    I am getting error:
    Error HRESULT E_FAIL has return from call to a COM component.

    I am trying below written code:
    <controls:ChildWindow x:Class="ImageEditor.TReportView"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
               Width="650" Height="900" xmlns:telerikReport="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
               Title="TReportView">
        <Grid x:Name="LayoutRoot" Background="White" >
            <telerikReport:ReportViewer Margin="5,5,5,5" UseNativePrinting="False"  Name="reportViewer" Width="Auto" Height="Auto" ReportServerUri="../ReportService.svc" 
        </Grid>
    </controls:ChildWindow>


    Telerik.Reporting.Service, Version=5.1.11.713
    Telerik.ReportViewere.Silverlight version =5.1.11.713
    VS2010 in windows 2007

    Thanks!
    SSD
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Dec 2011 Link to this post

    Hi,

    Thank you for your interest in Telerik Reporting.

    Prior to adding the Silverlight Report Viewer you have to download and install RadControls for Silverlight. The Silverlight report viewer depends on the following  assemblies:

    RadControls for Silverlight assemblies:

    • Telerik.Windows.Controls.dll
    • Telerik.Windows.Controls.Input.dll
    • Telerik.Windows.Controls.Navigation.dll

    Telerik ReportViewer assembly:

    • Telerik.ReportViewer.Silverlight.dll

    For a demo project you can check out the demos that came with your installation of Telerik Reporting:
    Start -> All Programs -> Telerik -> Reporting Q2 2010. 

    For a video how-to check out Getting Started with Telerik Report Viewer for Silverlight.
    For more information check out the following help articles:


    Regards,
    Steve
    the Telerik team

    Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

  3. DevCraft banner
Back to Top