Thread was being aborted Errors

"executionTimeout" in the machine.cofig

<system.web>
    <httpRuntime executionTimeout="3600" />
  </system.web>

The problem is solved after you delete the encrypted content for SQl Server 2008. It worked for me.
Try Reporting services configuration manager -> Encryption keys -> delete encrypted content.

 

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:

Line 227:            // string deviceInfo;

Line 228:

Line 229:            byte[] bytes = reportViewer.LocalReport.Render(

Line 230:            s_rptType, null, out mimeType, out encoding, out extension,

Line 231:            out streamids, out warnings);

[IndexOutOfRangeException: Index was outside the bounds of the array.] System.Collections.Generic.List`1.Add(T item) +37 Microsoft.ReportingServices.Library.MemoryReportSnapshot.CreateReportChunk(String name, ReportChunkTypes type, String mimeType) +47 Microsoft.ReportingServices.ReportProcessing.DataChunkWriter.Flush() +889 Microsoft.ReportingServices.ReportProcessing.DataChunkWriter.FinalFlush() +13 Microsoft.ReportingServices.ReportProcessing.RuntimeReportDataSetNode.FirstPassCleanup(Boolean flushData) +37 Microsoft.ReportingServices.ReportProcessing.RuntimeDataSetNode.FirstPass() +349 Microsoft.ReportingServices.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean& closeConnWhenFinish) +93 Microsoft.ReportingServices.ReportProcessing.RuntimeReportDataSetNode.Process() +227 Microsoft.ReportingServices.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet) +368 [ProcessingAbortedException: An error has occurred during report processing.] Microsoft.ReportingServices.ReportProcessing.AbortHelper.ThrowAbortException(Int32 reportUniqueName) +50 Microsoft.ReportingServices.ReportProcessing.ProcessingContext.CheckAndThrowIfAborted() +37 Microsoft.ReportingServices.ReportProcessing.Merge.Process(ParameterInfoCollection parameters, Boolean mergeTran) +1591 Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, ProcessingContext context) +526 Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, Boolean snapshotProcessing, Boolean processWithCachedData, GetReportChunk getChunkCallback, ErrorContext errorContext, DateTime executionTime, CreateReportChunk cacheDataCallback, ProcessingContext& context) +86 Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached) +1345 Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc) +44 Microsoft.Reporting.LocalService.RenderWithDataCache(PreviewItemContext itemContext, ParameterInfoCollection reportParameters, IEnumerable dataSources, DatasourceCredentialsCollection credentials, IRenderingExtension renderer, ReportProcessing repProc, CreateAndRegisterStream createStreamCallback, ReportRuntimeSetup runtimeSetup) +1129 Microsoft.Reporting.LocalService.Render(PreviewItemContext itemContext, Boolean allowInternalRenderers, ParameterInfoCollection reportParameters, IEnumerable dataSources, DatasourceCredentialsCollection credentials, CreateAndRegisterStream createStreamCallback, ReportRuntimeSetup runtimeSetup, ProcessingMessageList& warnings) +263 Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, CreateAndRegisterStream createStreamCallback, Warning[]& warnings) +228 [LocalProcessingException: An error occurred during local report processing.] Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, CreateAndRegisterStream createStreamCallback, Warning[]& warnings) +263 Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings) +145 Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings) +28 Reports_AnnualSummary4.saveRptAs(ReportViewer reportViewer, String s_rptType, String fileName, String folderName) in e:\Compass.net\CompassWeb\Reports\AnnualSummary4.aspx.cs:229 Reports_AnnualSummary4.btnGenerateReport_Click(Object sender, EventArgs e) in e:\Compass.net\CompassWeb\Reports\AnnualSummary4.aspx.cs:171 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/624c3cb6-6094-4176-8e4d-361349b1ffbe/

http://www.devnewsgroups.net/adonet/t3899-thread-being-aborted-errors.aspx

你可能感兴趣的:(thread)