Object is currently in use elsewhere

What could contribute to following error message?


Message: System.Web.Services.Protocols.SoapException: An error occurred during rendering of the report. —> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error occurred during rendering of the report. —> Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException: An error occurred during rendering of the report. —> System.InvalidOperationException: Object is currently in use elsewhere.
at System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat, Int32& charactersFitted, Int32& linesFilled)
at ԛ.ݲ.ވ(String ݌, Boolean މ)
at ԛ.ݲ.ކ()
at ԛ.խ.ֈ()
at ԛ.㝢.ֈ()
at ԛ.㜬.㜼(㝧 ᣓ, TableRow 㜽, 㞗 㜸)
at ԛ.㜬.㜺(㝧 ᣓ, TableRowCollection 㜻, 㞗 㜸)
at ԛ.㜬.㜹(㝧 ᣓ)
at ԛ.㜬.㜶(㝧 ᣓ)
at ԛ.ߔ.ߟ(ReportItem ׬, RectangleF ׮)
at ԛ.ߔ.ߝ(ReportItemCollection ߞ)
at ԛ.ߔ.ߟ(ReportItem ׬, RectangleF ׮)
at ԛ.ߔ.ߝ(ReportItemCollection ߞ)
at ԛ.ߔ.ߟ(ReportItem ׬, RectangleF ׮)
at ԛ.ߔ.ߝ(ReportItemCollection ߞ)
at ԛ.ߔ.ߟ(ReportItem ׬, RectangleF ׮)
at ԛ.ߔ.ߝ(ReportItemCollection ߞ)
at ԛ.ߔ.ߟ(ReportItem ׬, RectangleF ׮)
at ԛ.ߔ.ߝ(ReportItemCollection ߞ)
at ԛ.ߔ.ߟ(ReportItem ׬, RectangleF ׮)
at ԛ.ߔ.ߘ(Report Ӱ)
at ԛ.㤑.㤘()
at ԛ.㤑.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)
— End of inner exception stack trace —
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc)
at Microsoft.ReportingServices.Library.RSService.RenderAsLive(CatalogItemContext reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Boolean isLinkedReport, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoCollection& alldataSources, UserProfileState& usedUserProfile)
at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
— End of inner exception stack trace —
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingServices.Library.RenderReportAction.Render(String format, String deviceInfo)
at Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.InternalRender(String Format, String DeviceInfo, Stream& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
— End of inner exception stack trace —
at Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.InternalRender(String Format, String DeviceInfo, Stream& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.Render(String Format, String DeviceInfo, Byte[]& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at Microsoft.ReportingServices.WebServer.ReportExecutionService.Render(String Format, String DeviceInfo, Byte[]& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services
Hi Patrick,

Thanks for your inquiry. It seems that your issue is not related to Aspose.Words for Reporting Services from shared stack trace. If you are using Aspose.Words for Reporting Services, please use the select statement (to populate the data) inside your RDL file and share it here for testing purpose. We will investigate the issue on our side and provide you more information.