473,385 Members | 1,292 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

CrystalDecisions.Web.CrystalReportViewer is not compatible with the type of control CrystalDecisions.Web.CrystalReportViewer

Hello
I created a very simple page just to load a crystal report which was working just great

Code started throwing the following exception, after I installed crystal report 9 advanced edition

----------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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

FYI, I installed hot fix of crystal report 9, but didn't have any luck

Any pointer/help would be greatly appreciated

Thanks

Rez

************************************************** **********
File: TestReport.asp
************************************************** **********

<%@ Page language="c#" Codebehind="TestReport.aspx.cs" AutoEventWireup="false" Inherits="RnD.TestReport" %><%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML><HEAD><title>TestReport</title><meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"><meta name="CODE_LANGUAGE" Content="C#"><meta name="vs_defaultClientScript" content="JavaScript"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"></HEAD><body><form id="Form1" method="post" runat="server"><CR:CrystalReportViewer id="CrystalReportViewer1" runat="server"></CR:CrystalReportViewer></form></body></HTML
************************************************** **********
Code Behine File: TestReport.aspx.c
************************************************** **********

using System

namespace Rn

public class TestReport : System.Web.UI.Pag

protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1

private void Page_Load(object sender, System.EventArgs e

CrystalReportViewer1.ReportSource = "C:\\RND\\Reports\\SiteListByRegion.rpt"
#region Web Form Designer generated cod
override protected void OnInit(EventArgs e

InitializeComponent()
base.OnInit(e)

private void InitializeComponent(
{
this.Load += new System.EventHandler(this.Page_Load)
#endregio

Nov 18 '05 #1
3 16567
Hi Reza,

Have you found a solution to this? I am also having the same problem. Other people in my department CAN execute the application on their machines. I am the only one who can't.

thanks,
Eileen

"Reza Nabi" wrote:
Hello,
I created a very simple page just to load a crystal report which was working just great.

Code started throwing the following exception, after I installed crystal report 9 advanced edition.

-----------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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

FYI, I installed hot fix of crystal report 9, but didn't have any luck!

Any pointer/help would be greatly appreciated.

Thanks,

Reza

************************************************** ***********
File: TestReport.aspx
************************************************** ***********

<%@ Page language="c#" Codebehind="TestReport.aspx.cs" AutoEventWireup="false" Inherits="RnD.TestReport" %><%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML><HEAD><title>TestReport</title><meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"><meta name="CODE_LANGUAGE" Content="C#"><meta name="vs_defaultClientScript" content="JavaScript"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"></HEAD><body><form id="Form1" method="post" runat="server"><CR:CrystalReportViewer id="CrystalReportViewer1" runat="server"></CR:CrystalReportViewer></form></body></HTML>


************************************************** ***********
Code Behine File: TestReport.aspx.cs
************************************************** ***********

using System;

namespace RnD
{
public class TestReport : System.Web.UI.Page
{
protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;

private void Page_Load(object sender, System.EventArgs e)
{
CrystalReportViewer1.ReportSource = "C:\\RND\\Reports\\SiteListByRegion.rpt";
}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion
}
}

Nov 18 '05 #2
Hi Reza,

Did you find a solution to this problem? I am having the same error.

Thanks,
Eileen

"Reza Nabi" wrote:
Hello,
I created a very simple page just to load a crystal report which was working just great.

Code started throwing the following exception, after I installed crystal report 9 advanced edition.

-----------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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

FYI, I installed hot fix of crystal report 9, but didn't have any luck!

Any pointer/help would be greatly appreciated.

Thanks,

Reza

************************************************** ***********
File: TestReport.aspx
************************************************** ***********

<%@ Page language="c#" Codebehind="TestReport.aspx.cs" AutoEventWireup="false" Inherits="RnD.TestReport" %><%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML><HEAD><title>TestReport</title><meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"><meta name="CODE_LANGUAGE" Content="C#"><meta name="vs_defaultClientScript" content="JavaScript"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"></HEAD><body><form id="Form1" method="post" runat="server"><CR:CrystalReportViewer id="CrystalReportViewer1" runat="server"></CR:CrystalReportViewer></form></body></HTML>


************************************************** ***********
Code Behine File: TestReport.aspx.cs
************************************************** ***********

using System;

namespace RnD
{
public class TestReport : System.Web.UI.Page
{
protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;

private void Page_Load(object sender, System.EventArgs e)
{
CrystalReportViewer1.ReportSource = "C:\\RND\\Reports\\SiteListByRegion.rpt";
}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion
}
}

Nov 18 '05 #3
Hi Reza,

Did you find a solution to this problem? I am having the same error.

Thanks,
Eileen

"Reza Nabi" wrote:
Hello,
I created a very simple page just to load a crystal report which was working just great.

Code started throwing the following exception, after I installed crystal report 9 advanced edition.

-----------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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

FYI, I installed hot fix of crystal report 9, but didn't have any luck!

Any pointer/help would be greatly appreciated.

Thanks,

Reza

************************************************** ***********
File: TestReport.aspx
************************************************** ***********

<%@ Page language="c#" Codebehind="TestReport.aspx.cs" AutoEventWireup="false" Inherits="RnD.TestReport" %><%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML><HEAD><title>TestReport</title><meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"><meta name="CODE_LANGUAGE" Content="C#"><meta name="vs_defaultClientScript" content="JavaScript"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"></HEAD><body><form id="Form1" method="post" runat="server"><CR:CrystalReportViewer id="CrystalReportViewer1" runat="server"></CR:CrystalReportViewer></form></body></HTML>


************************************************** ***********
Code Behine File: TestReport.aspx.cs
************************************************** ***********

using System;

namespace RnD
{
public class TestReport : System.Web.UI.Page
{
protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;

private void Page_Load(object sender, System.EventArgs e)
{
CrystalReportViewer1.ReportSource = "C:\\RND\\Reports\\SiteListByRegion.rpt";
}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion
}
}

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cuperman | last post by:
Hi All, I am pretty new to Crystal coding and trying to enhance a report that we have created in .Net I have a CrystalReportViewer control which loads a report from Cache memory. This all...
4
by: anannj | last post by:
Hi everyone, I have a Crystal Report with a subreport in a windows application, which is to be exported to the pdf file. I followed the instructions on...
3
by: Nancy. | last post by:
It seems that I can not be able to display a crystal report with the crystal viewer in a web application. However, in Windows Application I do not have this kind of problems. In a Web form, I...
0
by: Marc Callec | last post by:
I'm trying to create an instance of the CrystalReportViewer control within my class in an attempt to return the rendered HTML back to the consumer of the class. Because I haven't added the...
3
by: Lorenc | last post by:
Is anybody experiencing the following error when trying to export a crystal report to a pdf? This error happens randomly. ------------------------------------------------------------------------...
1
by: TS | last post by:
i have this build error that is pointing to a crystal report class. Am i to believe that the company who created this assembly created it un compliant, or is it something in my application/code...
0
by: Dipen | last post by:
Hello All, I am using crystal report in my application. Everything is right but i end up with the following error. Failed to open a rowset. Description: An unhandled exception occurred during...
3
by: roopsd | last post by:
I am using VS.NET 2003 with crystal reports XI release 2. I get a runtime error at the following line: oRptForm.crystalReportViewer.ReportSource = oReport An unhandled exception of type...
0
by: Karthik | last post by:
We are using the CrystalReportviewer on an ASP.NET page to render the reports. The data binding is done by binding the ReportSource member variable of the viewer to the InfoObject class instance,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.