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

programmatical Export not working

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Murali
Top achievements
Rank 1
Murali asked on 05 Aug 2014, 04:23 PM
The code below is used to export reports programatically based on the sample in the link http://www.telerik.com/help/reporting/exporting-report-programmatically-in-silverlight.html

void serviceClient_RenderCompleted(object sender, RenderEventArgs e)
{
var result = e.RenderingResult;
if (this.file != null)
{
this.file.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
this.file.Close();
this.file.Dispose();
this.file = null;
}
}

It stopped working after a data center move, it was working before in production too. After the datacenter move the report is rendered to the UI and the report is also exported but with no data.Could you please tell me what could be the reasons.

Thanks



1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 08 Aug 2014, 11:04 AM
Hello Murali,

Please check the server's Event Viewer for any logged errors. Also inspect with Fiddler if all requests to the Reporting WCF service are successful or the reason for the failed once.

In case there are no errors, and all requests are OK, verify the used data source components manage to retrieve data with the set connection strings and methods. If you use some cache settings, check the process' read/write rights to the cache.


In order to investigate the problem further, please send us a demo project reproducing the problem, all error logs from the server and a log file created by Fiddler.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Murali
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or