Print Page | Close Window

About 'IcachedReport' Error

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=2121
Printed Date: 18 Apr 2024 at 10:44pm


Topic: About 'IcachedReport' Error
Posted By: mangsul
Subject: About 'IcachedReport' Error
Date Posted: 23 Jan 2008 at 6:48pm

Hi...

I would like to ask about the error that I've got and working with for these few days...
I have one main project that has many sub projects in it...including sub project report(to create report)...--> using Visual Studio 2003 ,VB.net,CRystal Report
 
ok..let's get right to the problem...
every time I create a crystal report in this project..
I always got these errors..:
 

à 'CreateReport' annot implement 'CreateReport' because there is no

      matching function on interface 'IcachedReport'

à 'YMMA_REPORT.CachedCRTes1' must implement 'Overridable

      Function CreateReport() As CrystalReports.Engine.ReportDocument' for
      interface  'CrystalDecisions.ReportSource.ICachedReport'
This error lays inside the Code of the report(which is self generated by the crystal report).It's weird...because it's a self-generated code(vbcode).
 

I've tried to make other small projects but everything runs well...I don't get errors like this...As additional information..I've also updated my .Net framework,I've run the windows updated to get the latest update in my computer

I can't find any other solutions..

Could somebody please help me out of this problems????

I'm frustated with it...

 
Thanks a bunch....



Replies:
Posted By: scottgr
Date Posted: 09 Feb 2010 at 10:23am
Had this same problem this morning and didn't see an answer in the post, so here is basically what helped.
 
Go to the "cs" file generated by Crystal, you will see:

using CrystalDecisions.Shared;

using CrystalDecisions.ReportSource;

using CrystalDecisions.CrystalReports.Engine;

Add these references to your project and recompile.  This problem is compounded and cloaked by various other VS issues that may come up at the same time.  Don't get discouraged.


-------------
Software is engineering.



Print Page | Close Window