Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to fix asp.net runtime error
    primarykey
    data
    text
    <p>So i have a page that is suppose to display various reports. This works fine when i run the application with the old reports. However when i run the application with new versions of the reports i get this error.</p> <pre><code> ASP.NET runtime error: The base class includes the field 'reportViewer', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer). </code></pre> <p>From what I've gathered looking for a solution for this error, it has something to do with CR(Crystal Reports) running either a different or newer version. However From what i know, i haven't changed or updated CR. </p> <p>The versions i have stored in my web.config for the references i am using with crystal reports are:</p> <pre><code>&lt;add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; &lt;add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt; </code></pre> <p>A solution i was given by the previous developer was to modify the .csproj file manually and replace the version # with the correct one which is version 12. Although, this leads me to having an error with VS to be unable to locate the System.Web.Extentions.dll.</p> <p>So what i would like to know, is what exactly is wrong with my application and how can i rectify the problem.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload