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

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

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shakti SIngh Dulawat
Top achievements
Rank 1
Shakti SIngh Dulawat asked on 22 Dec 2011, 07:46 AM
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

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Dec 2011, 10:39 AM
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!

Tags
General Discussions
Asked by
Shakti SIngh Dulawat
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or