none
RDLC - Error Log Issue - Object reference not set to an instance of an object RRS feed

  • Question

  • File Name :Reserved.ReportViewerWebControl Method Name :Application_Error Error Text :Object reference not set to an instance of an object. Error Desc : at Microsoft.ReportingServices.Library.MemoryReportSnapshot.GetChunk(String name, ReportChunkTypes type) at Microsoft.ReportingServices.Library.MemoryReportSnapshot.GetReportChunk(String name, ReportChunkTypes type, String& mimeType) at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.DeserializeReportSnapshot(GetReportChunk getChunkCallback, CreateReportChunk createChunkCallback, GetResource getResourceCallback, RenderingContext renderingContext, Hashtable& instanceObjects, Hashtable& definitionObjects, State& declarationsRead, Boolean& isOldSnapshot) at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderSnapshot(IRenderingExtension renderer, CreateReportChunk createChunkCallback, RenderingContext rc, GetResource getResourceCallback)

    Any idea on how to fix this issue ?

    • Moved by Alexander Sun Thursday, May 31, 2012 9:53 AM Move to more appropriate forum (From:Visual C# General)
    Wednesday, May 30, 2012 4:44 PM

All replies

  • Set the object reference to an instance of the object?

    From this. it looks like some name or type is null, but who knows when the code where it happens is not shown.

    File Name :Reserved.ReportViewerWebControl
    Method Name :Application_Error
    Error Text :Object reference not set to an instance of an object.
    Error Desc :
       at Microsoft.ReportingServices.Library.MemoryReportSnapshot.GetChunk(String name, ReportChunkTypes type)
       at Microsoft.ReportingServices.Library.MemoryReportSnapshot.GetReportChunk(String name, ReportChunkTypes type, String& mimeType)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.DeserializeReportSnapshot(GetReportChunk getChunkCallback, CreateReportChunk createChunkCallback, GetResource getResourceCallback, RenderingContext renderingContext, Hashtable& instanceObjects, Hashtable& definitionObjects, State& declarationsRead, Boolean& isOldSnapshot)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderSnapshot(IRenderingExtension renderer, CreateReportChunk createChunkCallback, RenderingContext rc, GetResource getResourceCallback)


    Regards David R
    ---------------------------------------------------------------
    The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
    Object-oriented programming offers a sustainable way to write spaghetti code. - Paul Graham.
    Every program eventually becomes rococo, and then rubble. - Alan Perlis
    The only valid measurement of code quality: WTFs/minute.

    Wednesday, May 30, 2012 5:38 PM
  • This is not the most appropriate forum for Report Controls or web applications issues.

    Visual Studio Report Controls Forum

    ASP.NET Forums

    Rudy   =8^D


    Mark the best replies as answers. "Fooling computers since 1971."

    http://thesharpercoder.blogspot.com/

    Wednesday, May 30, 2012 6:26 PM