Skip to Content
Former Member
Mar 31, 2011 at 11:58 PM

The base class includes the field 'CrystalReportViewer1', but its type...


Hi there,

I recently installed Visual Studio Ultimate 2010.

I currently have both VS 2005 and 2008 installed.

I downloaded and installed CRforVS_13_0_1.exe.

I created a simple C# web page with a Crystal Reports Viewer on it.

I get this error:

The base class includes the field 'CrystalReportViewer1', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer).

I did find some references to Crystal report 10 in my web.config and removed them. These are the only references:

<add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

My default.aspx page looks like this:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="COMET04._Default" %>

<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>">">

<head runat="server">




<form id="form1" runat="server">


<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"

AutoDataBind="true" />





I can't see where I would be having any conflicts.

Does anyone know a solution to this?