InternalCatalogException : Assertion failed

  • Hi,

    I have this strange behaviour with one of my reports (SSRS 2005): whenever I request it via an ASP.Net 2.0 web application, it generates an error. If I run it from Report Manager, everything is OK.

    I googled this message "un-named assertion fired for component processing", but couldn't find anything that could solve nor explain this behaviour.

    - Some suggested to install the latest Updates: I installed SP3 --> no luck;

    - others suggested send any Guid parameters in uppercase: it's already the case;

    - finally, it might have been an AMD-processor issue, but my problem occurs on a virtual machine.

    When the report call crashes, RS generates a dump (.mdmp file attached to this thread) in the Log folder and you'll find below the log content:

    Does anyone have an idea or been confronted to the same situtation ?

    I'm losing the few hair I have left, any help would be greatly appreciated.

    w3wp!processing!1!7/13/2009-12:42:34:: a ASSERT: Assertion failed! Call stack:

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing+PageMerge.FirstPassMatrixHeadings(MatrixMemberCollection headings, Boolean isColumn, Boolean[]& cellsCanGetReferenced)

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing+PageMerge.FirstPassReportItem(ReportItem reportItem)

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing+PageMerge.FirstPass()

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing+PageMerge.Process(Int32 pageNumber, Int32 totalPages, Report report, PageReportItems pageReportItems, ErrorContext errorContext, PageSection& pageHeader, PageSection& pageFooter)

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing.EvaluateHeaderFooterExpressions(Int32 pageNumber, Int32 totalPages, Report report, PageReportItems pageReportItems, PageSection& pageHeader, PageSection& pageFooter)

    Microsoft.ReportingServices.Rendering.ImageRenderer.Report.AddHeaderFooter(Boolean force)

    Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.ProcessPages(CompositionBase theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)

    Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport.RenderReport(Report report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStreamCallback, Int32 streamPageNumber)

    Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStream)

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)

    Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc)

    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)

    Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)

    Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)

    Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()

    Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()

    Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)

    Microsoft.ReportingServices.WebServer.ReportingService.Render(String Report, String Format, String HistoryID, String DeviceInfo, ParameterValue[] Parameters, DataSourceCredentials[] Credentials, String ShowHideToggle, Byte[]& Result, String& Encoding, String& MimeType, ParameterValue[]& ParametersUsed, Warning[]& Warnings, String[]& StreamIds)

    System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

    System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)

    System.Web.Services.Protocols.WebServiceHandler.Invoke()

    System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

    System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)

    System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    System.Web.HttpApplication+ApplicationStepManager.ResumeSteps(Exception error)

    System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)

    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

    System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)

    System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

    w3wp!library!1!7/13/2009-12:42:34:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., un-named assertion fired for component processing;

    Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.

    w3wp!library!1!7/13/2009-12:42:40:: i INFO: Exception dumped to: c:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

    w3wp!reportrendering!1!07/13/2009-12:42:40:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException: An error occurred during rendering of the report., ;

    Info: Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.

    at Microsoft.ReportingServices.Diagnostics.Utilities.RSTraceInternal.Assert(Boolean condition, String componentName)

    at Microsoft.ReportingServices.Diagnostics.Utilities.RSTrace.Assert(Boolean condition)

    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.PageMerge.FirstPassMatrixHeadings(MatrixMemberCollection headings, Boolean isColumn, Boolean[]& cellsCanGetReferenced)

    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.PageMerge.FirstPassReportItem(ReportItem reportItem)

    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.PageMerge.FirstPass()

    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.PageMerge.Process(Int32 pageNumber, Int32 totalPages, Report report, PageReportItems pageReportItems, ErrorContext errorContext, PageSection& pageHeader, PageSection& pageFooter)

    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.EvaluateHeaderFooterExpressions(Int32 pageNumber, Int32 totalPages, Report report, PageReportItems pageReportItems, PageSection& pageHeader, PageSection& pageFooter)

    at Microsoft.ReportingServices.Rendering.ImageRenderer.Report.AddHeaderFooter(Boolean force)

    at Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.ProcessPages(CompositionBase theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)

    at Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport.RenderReport(Report report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStreamCallback, Int32 streamPageNumber)

    at Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, CreateAndRegisterStream createAndRegisterStream)

    --- End of inner exception stack trace ---

    at Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.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 ---

    w3wp!runningjobs!1!07/13/2009-12:42:40:: v VERBOSE: ThreadJobContext.EndCancelableState

    w3wp!runningjobs!1!07/13/2009-12:42:40:: v VERBOSE: RunningJobList.RemoveJob: tgkxxruc0d2uthq5svkbf055 was removed

    Thanks in advance !

    Cheers,

  • It finally works now, but I had to re-develop the report from scratch, using the same queries and controls...

    But I still do not understand what was the problem at the first place...

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply