Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: 'MyClassLib.CachedMyReportDoc' does not contain a Post Reply Post New Topic
Author Message
FireStorm2012
Newbie
Newbie
Avatar

Joined: 05 Apr 2011
Location: United States
Online Status: Offline
Posts: 3
Quote FireStorm2012 Replybullet Topic: 'MyClassLib.CachedMyReportDoc' does not contain a
    Posted: 05 Apr 2011 at 7:04am

I am receiving the following error when attempting to compile an ASP.NET application:

'MyClassLib.CachedMyReportDoc' does not contain a definition for 'Site' and no extension method 'Site' accepting a first argument of type 'MyClassLib.CachedMyReportDoc' could be found (are you missing a using directive or an assembly reference?)

This error occurs in the report doc code-behind, specifically on the this.Site property in the following method:

public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { 
 
MaterialReportDoc rpt = new MaterialReportDoc();
 rpt.Site = this.Site;

 return rpt;
}


I have no idea how to fix this properly.

Any help will be appreciated.

 

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.