473,671 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Report Viewer Type Compatibility error

Hi,

I am getting the following error

" The base class includes the field 'cv_ezinfo', but its type (CrystalDecisio ns.Web.CrystalR eportViewer) is not compatible with the type of control (CrystalDecisio ns.Web.CrystalR eportViewer)"

whenever i am accessing the ASP page which contains Crystal Report Viewer Control.

It worked fine upto last day.. today it is showing me this error...

Please help me on this...
Sep 6 '06 #1
3 11446
SrinivasShashank
1 New Member
Hi,

This is Srinivas , Right now I am facing some problem with Crystal reports.

Message : the base class includes the field reportviewer, but its type
is not compatible with the type of control.


This is very urgent, please provide the solution for this issue.

Thank you
Srinivas
Aug 29 '07 #2
talhaekram
14 New Member
This type error occurs because of multiple same name CR dll in GAC assembly (c:\windows\ass embly).

You just need to reference it correctly. You can use 'jump to definition' on Crystal report viewer class and through object browser you will get the path of dll. Go to that path and check the version. Since I have CR 2.0 as default so I decided to change my reference to CR 1.0 dlls

I have extracted the dll 9.1.5000 of CrystalDecision .Web.dll from GAC and placed it in a bin folder, then I added it as a dll reference to my website and it worked for me.

To extract dll from GAC you need to work it on DOS prompt.
Jul 21 '08 #3
haseeb006
1 New Member
I solved the problem. It occurs for version problem.

See at top of the page:

Have version-10.5.3700.0, change it Version=13.0.20 00.0. then it works

After that it doesn't work, then close the application & restart, you get a promt message-change for new old version to new version, click yes.
Jan 3 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
10068
by: cj | last post by:
Has anyone come across the following error in running a Crystal Report in ASP.NET using the Crystal Reports Web Viewer control... CrystalDecisions.CrystalReports.Engine.InvalidArgumentException: Error in File c:\..\..\..\..\InvoiceReport.rpt: Invalid table number. It happens when trying to set the location for each table in the report 1 For Each objReportTable In rptInvoice.Database.Tables 2 Dim objTableLogOnInfo As...
5
9432
by: Robert Schuldenfrei | last post by:
Hi Again, Forgive me for posting this again, but old items seem to get little review. I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When I print my reports to a file or directly to the printer, the orientation is landscape. This was set in the report itself using Designer | Printer Setup and setting the printer to landscape. When I send the report to the viewer, using the...
19
3869
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set ReuseParameterValuesOnRefresh="True" in a viewer, but it still doesn't work. Did anyone run into this problem. What's the solution? Please help. Thank you
0
1673
by: Monali | last post by:
Hi, I created a ASP.NET crystal reports web site in VS 2005. I wanted to display the data in a DataSet in the Crystal Reports viewer control. I am getting the DataSet from another dll. The documentation says that I need to add a new item - Crystal report, with a blank report in the project which will automatically create a class say CrystalReport1 in my project (if the name of the crystal report added is CrystalReport1.rpt). I should...
0
2264
by: Chris | last post by:
I have the following situation in a VB.Net App I am working on: 1.)A report created in VS.Net 2003 using the CR.Net component of VS 2003. 2.)The datasource for the report is a Stored Proc in a SQL Server DB (pull method). 3.)The Stored Proc has two input parameters of type date. 4.)The Stored Proc is a rather complex proc that was not written by me, but does work(see next item). It currently returns about 13K rows of data. 5.)The...
4
5472
by: VMI | last post by:
For my website, I created CrystalReportTest.rpt (through the designer in VS 2005) and I'd like to be able to display it in viewer.aspx (all in the same project). Viewer.aspx has a Crystal Report viewer but for some reason, I can't create an instance of this report. Therefore, I can't set any of its properties. The only way I was able to run it was through: CrystalReportViewer.ReportSource = Server.MapPath("CrystalReportTest.rpt"); ...
0
1981
by: Tumurbaatar S. | last post by:
It's my first project using the Crystal report. I created a report with the report designer and linked it to a web form as: 1. put CrystalReportViewer in my page (its ID: Viewer). 2. put ReportDocument component from Toolbox | Components (its Name: Report) and specified my existing report class (myproject.import.reports.shiporder). 3. in DataBinding of above viewer, I choosed Simple binding and selected my report. 4. on Page_Load event...
0
2966
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the report directly to the printer bypassing the Crystal report viewer altogether. When sending the job directly to the printer I use the PrintToPrinter command CR.PrintToPrinter(1, False, 0, 0)
7
6703
by: Jlo | last post by:
Hi, I have a c# winforms application. When I call the report file, it shows me all the records in the table. How can I make it to call only a particular range. i have the following code Viewer1.ReportSource = Application.StartupPath + "//Label.rpt"; How can I assign it a dataset which have the data of a particular range.
0
8390
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8911
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4402
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2808
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.