Click here to Skip to main content
15,502,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends
I am using Visual Studio 2010 with the framework 4. I have downloaded the SAP crystal report for 2010 from web. I have installed it and i am getting the report while designing. When i try to view the report i am getting the error as :
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). 
Source Error: 

<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

 <CR:CrystalReportViewer ID="CrystalReportViewer1"  runat="server" AutoDataBind="true"
     DisplayGroupTree="False" EnableDatabaseLogonPrompt="False" 
    ReportSourceID="CrystalReportSource1" />
    <CR:CrystalReportSource ID="CrystalReportSource1"  runat="server">

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.208 . 

Can any one help me in solving this issue? Thanks in advance..

Sampath Bejugama
Updated 2-Oct-11 22:26pm


There are many who are facing this kind of issue with Crystal Report for VS 2010. Based on the error message you had, check following things:

1. Make sure you just have one CR version installed on your system. Uninstall any old version taht you may have on your machine.

2. Download the correct CR version. Since you are using VS 2010, you need to refer to[^]
(for 64 bit machine) or[^] (for 32 bit machine).

3. Make sure you setup FULL TRUST permission on your root folder

4. The LOCAL SERVICE permission must be setup on your application pool

5. Make sure the aspnet_client folder exists on your root folder.

If you follow the above should be good to go...all the best.
Share this answer


Share this answer
kollamparampil georgevarghese 10-Aug-13 13:32pm    
doing the steps in the first solution and repatng he second dtep it worked for me thanks..
It is CrystalReportViewer version problem
First remove all crystalreport dlls and remove all crystal report references from
web.config which contain version like '10.5.3700.0'
now add dll with 13 version.
now add control on aspx page if there is reference remaining on aspx page like
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

' then change it like

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" 

copy version from web config which contain '13. . . ' and paste in aspx page reference tag

it will work .
Share this answer
CHill60 8-Apr-15 7:05am    
You do realise this question is over 3 years old and already resolved?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900