Hi,
I am facing problem is programatically downloading ssrs report in Word format.
Error :Unexpected error in ProcessRequest: System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at Microsoft.SharePoint.Utilities.SPUtilityInternal.SendResponse(HttpContext context, Int32 code, String strBody) at Microsoft.SharePoint.Utilities.SPUtility.EnsureAuthentication(SPWeb web) at Microsoft.ReportingServices.SharePoint.Common.RSProxyUtils.EnsureUserAuthenticated() at Microsoft.ReportingServices.SharePoint.Soap.RSBaseHttpHandler.ProcessRequest(HttpContext context) 7ea4a339-cf98-4e23-97c4-8f882e706d9c
Here are details.
Application Detail:
1) SSRS report (2008 R2) are accessed in Sharepoint 2010 via url parameters.
2) User can preview the report in IFRame.
3) If user ops for Save, Report is downloded in word format by using
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(source);
myHttpWebRequest.Timeout = 1000 * 60 * 60;
myHttpWebRequest.UseDefaultCredentials = true;
HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();
receiveStream = myHttpWebResponse.GetResponseStream();
4) Url :
http://myserver:myport/_vti_bin/ReportServer/RSViewerPage.aspx?http://myserver:myport/RDLReports/myrdl.rdl&rs:Command=Render&rs:Format=WORD&ContractKey=18&ConfigID=1&ContractYear=2012&KPIStatus=0&ShowBenchmark=1
5) Authentication Kerborose.
Please suggest.
Thanks in advance
Hemant