Needs help in displaying report

Discussion in 'ASP.NET / ASP.NET Core' started by EugeneLim11, Sep 28, 2009.

  1. I am hosting a .rdlc file in my root directory (a report server template). On my local machine, it works fine. However when I upload to LIVE at http://www.educationfound.com/ListingOfAllSchools.aspx

    the report does not seems to work. Any help is very much appreciated.
     
  2. Hi,
    Make sure you see a section like this on the page loading the report:
    <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

    And if you are on IIS7 you need a handler in your web.config also for it to show.
    <httpHandlers>
    <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
    </httpHandlers>
     
  3. Similar problem

    I am also trying to use the embedded report viewer, I have checked both the form and the web config file and both have the appropriate entries.

    Any other suggestions would be appreciated!
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    can't really tell what is going on based on the error. can you post the code?
     

Share This Page