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 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 } }
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 } }
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 } } This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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.
------------------------------------------------------------------------...
|
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...
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
|
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$) {
}
...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |