on 10-01-2008 6:54 PM
Hi I converted an old vb application from 2003 to 2005. I also ran the msi file that installs the version 9 crystal report dlls.
When I try to display a report, I get the following error
bold
The base class includes the field 'CrystalReportViewer1', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer).
bold
I did a google search and found one response where the user ran the ProjectMigrator.exe program from a CrystalReport folder. Anyhow I did a search on my machine and do not seem to have this file.
Currently on the machine is both CR Developer, product type= full, product version = 9.2.2.693
as well as
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005.
thanks! Paul.
Hi Paul,
Crystal Reports 9 is not Compatible with Visual Studio 2005.
So installing the CR 9 msi will not help here.
You need to upgrade your reports to CR bundled with vs 2005(CR 10.2) by opening the reports in Visual Studio 2005 and Saving them.
Also you need to change the references from CR 9.2 which is full product to CR 10.2 which comes bundled with VS 2005.
Thanks,
Prasad Kanchan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi I deleted old crystal report viewer, put new control on form,
and noticed the control appeared with the error, error creating control CrystalReportViewer1, duplicate component name
I also am getting the runtime error
run time error
BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
when I try to run the report.
Thanks Paul.
Before doing the following, remove the viewer from the form. then, go to the Toolbox in the .NET 2005 IDE. Right click on an unused space inthe toolbox and from the pop-up menu select "Choose Items..."
Find the CrystalReportViewer that has a check mark next to it - I think you will have one of version 9.x. Remove the check mark. Find the CrystalReportViewer of version 10.2.3300, place a check mark there (you may want to do this for both .windows.forms and .web viewers.
Now add the viewer on the form.
Ludek
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.