title: The base class includes the field 'report', but its type (Microsoft.Reporting.WebForms.ReportViewer) is
body: <p>I'm desperate. I have this page with a report viewer that worked  until a couple of days ago. I haven't changed my webconfig or anything else, but I am getting this error now. Here's my ASP.NET code:</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RisultatoStampaPdf.aspx.cs" Inherits="Fatture.Pagine.StampaDocumenti.RisultatoStampaPdf" %&gt;
  
  &lt;%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %&gt;
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"&gt;
  ---code---
  
  &lt;/asp:Content&gt;
  
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="server"&gt;
      &lt;div align="center"&gt;
          &lt;h4&gt;Premere il pulsante "Salva" e scegliere il formato desiderato&lt;/h4&gt;
          &lt;asp:Label ID="lblErrore" runat="server" Text=""&gt;&lt;/asp:Label&gt;
          &lt;rsweb:ReportViewer runat="server" ID="report" Font-Names="Calibri" Font-Size="12pt" WaitMessageFont-Names="Calibri" WaitMessageFont-Size="14pt" Width="740px" Height="500px"&gt;
              &lt;LocalReport ReportPath="ReportFatture.rdlc"&gt;
                  &lt;DataSources&gt;
                      &lt;rsweb:ReportDataSource DataSourceId="ObjectDataSource2" Name="DataSet2" /&gt;
                  &lt;/DataSources&gt;
              &lt;/LocalReport&gt;
          &lt;/rsweb:ReportViewer&gt;
          &lt;asp:ObjectDataSource ID="ObjectDataSource2" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="Fatture.DataSet2TableAdapters.DataTable1TableAdapter"&gt;
              &lt;SelectParameters&gt;
                  &lt;asp:Parameter Name="id_documento" Type="Int64" /&gt;
                  &lt;asp:Parameter Name="id_cliente" Type="Int64" /&gt;
              &lt;/SelectParameters&gt;
          &lt;/asp:ObjectDataSource&gt;
          &lt;br /&gt;
          &lt;asp:Button ID="btnReindirizza" class="btn btn-info" runat="server" Text="Torna indietro" OnClick="btnReindirizza_Click" /&gt;
          &lt;hr /&gt;
      &lt;/div&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>I am using .NET Framework 4.51.</p>