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

How to handle report exception ?

0 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wang
Top achievements
Rank 1
Wang asked on 04 Jan 2012, 09:33 AM
Hi Guys,
    In case of the report be shown by using the Silverlight ReportViewer.
    How can I catch the report exception when  the executed mdx query has exception against OLAP cube ?
    
    At this moment,I use the Telerik.Reporting Version is 5.0.11.510.

    Please see the code below
ReportService.svc
<%@ServiceHost  Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=5.0.11.510, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"%>

*.xaml
   
<telerik:ReportViewer x:Name="MyReportViewer"  
ReportServiceUri="../ReportService.svc"
Report="ReportLibrary.ReportFile.ReportTest, ReportLibrary"
/>

or
*.xaml.cs
this.MyReportViewer.RenderBegin += newRenderBeginEventHandler(ReportViewer_RenderBegin);
this.MyReportViewer.Report = "ReportLibrary.ReportFile.ReportTest, ReportLibrary";

I  create the report instance by using the "ReportService.svc" wcf service.
I  can only set the completely named report for the Silverlight ReportViewer's Report Property.

How should I do ?
I am in urgent need of yours help.Thanks

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Wang
Top achievements
Rank 1
Share this question
or