locked
report viewer on server RRS feed

  • Question

  • User-2112725598 posted

    Hi

    I had designed report using reportviewer. When I am running it on local machine its working fine but after uploading website its not working

    so please guide me how to upload report on server.

    Tuesday, September 24, 2013 5:12 AM

All replies

  • User-306750178 posted

    Hi,

    Aadd below tag to ur web.config

    <add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd"
    verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified"
    />

    And make sure below thinks are done.

    In IIS 7, we need to add Reserved.ReportViewerWebControl.axd httpHandler.

    Resolution:

    Open Internet Information Services (IIS) Manager and select your Web application.

    Under IIS area, double-click on Handler Mappings icon.

    At the Action pane on your right, click on Add Managed Handler.At the Add Managed Handler dialog, enter the following:
    Request path: Reserved.ReportViewerWebControl.axd
    Type: Microsoft.Reporting.WebForms.HttpHandler
    Name: Reserved-ReportViewerWebControl-axdClick OK.

    See this link: http://otkfounder.blogspot.com/2007/11/solving-reportviewer-rendering-issue-on.html

    Tuesday, September 24, 2013 5:34 AM
  • User-2112725598 posted

    I had applied this one but I am getting error like

    • An error occurred during local report processing.
      • The definition of the report 'Report1.rdlc' is invalid.
        • An unexpected error occurred in Report Processing.
          • Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    Wednesday, September 25, 2013 11:47 PM
  • User-734925760 posted

    Hi,

    As people can see from the error above, we need the Microsoft.ReportViewer.ProcessingObjectModel.dll.

    We should try to find the .dll file, please refer to the link below:

    http://www.prominder.eu/post/2010/02/04/Error-The-definition-of-the-report-Main-Report-is-invalid.aspx

    It will tell us how to find the .dll file.

    Hope it's useful for you.

    Best Regards,

    Michelle Ge

    Friday, September 27, 2013 5:16 AM