Link to home
Start Free TrialLog in
Avatar of lschwabe
lschwabe

asked on

CrystalDecision errors when migrating from VB 2008 to VB 2013

I am getting build errors such as

Type 'CrystalDecisions.ReportSource.ICachedReport' is not defined

Type 'CrystalDecisions.CrystalReports.Engine.ReportDocument Implements CrystalDecisions.ReportSource.ICachedReport.CreateReport' is not defined

The project's platform  is set to Active (x86)              (not changed after the migration)
The Target Framework set to .NET Framework 3.5  (not changed after the migration)

The following reference paths were modified as follows
CrystalDecisions.CrystalReports.Engine
C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll

CrystalDecisions.Shared
C:\Windows\assembly\GAC_MSIL\CrystalDecisions.Shared\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Shared.dll

CrystalDecisions.ReportSource  C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportSource\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll

Another problem which might be related is that I can not open Crystal reports (.rpt) which were created in VB 2008
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

I would think that you need to recreate the reports in the new version of Crystal Reports.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lschwabe
lschwabe

ASKER

I went to the SAP Community Network web page http://scn.sap.com/docs/DOC-7824 entitled 'SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads', downloaded and installed the most current executable 'Support Pack 12 (v.13.0.12.1494)' and rebooted.  I reran the migration process for my VB project from VS 2008 to VS 2013. The migration process was error free.

In VS2013 I am still unable to open the Crystal reports (file type .rpt) created in VS 2008 but they do run.  In the VS 2013 development mode when I try to open a Crystal report created in VS 2008 an 'Open With' window appears asking me to choose a program to use to open the file.

Any suggestions?

 I appreciate the comments that I have received so far. They directed me in the right direction. Thank you.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I opened a new report in Vs 2013 (.rdlc file), opened the Solution Explorer window, right clicked on the new report  and in the menu drop down clicked on 'Open With ...'.  The option 'Report Designer (Default)' was selected. In the Solution Explorer window I right clicked on one of the VS 2008 reports (.rpt file) and in the menu drop down clicked on 'Open With ...' there was no option available for 'Report Designer (Default)'.  I reinstalled the most current executable for Crystal Reports 'Support Pack 12 (v.13.0.12.1494)', rebooted and now I am able to open the Vs2008 reports in VS2013.

Thanks again for the comments and suggestions.  The help directed me in the right direction.