GornHorse Posted October 16, 2003 Posted October 16, 2003 Hi There, I don't understand this one bit. I have created the crystal report from within visual studio, and i have created an aspx page that has the viewer on it, which references the report. When i build the solution, i get the following build errors: 1. Type 'ReportClass' is not defined. 2. Property 'ResourceName' cannot be declared 'Overrides' because it does not override a property in a base class. 3. Type 'Section' is not defined. 4. 'ReportDefinition' is not a member of 'QUIPS IS1.Rpt_REMSLabels_MembershipFile'. (Errors 3 and 4 are repeated numerous times) 5. 'QUIPS IS1.CachedRpt_REMSLabel_MembershipFile' must implement 'Overridable Overload Function CreateReport() as ReportDocument' for interface 'CrystalDecisions.ReportSource.ICachedReport'. 6. Type 'ReportDocument' is not defined. 7. 'CreateReport' cannot implement 'CreateReport' because there is no matching function on interface 'ICachedReport'. 8. 'Site' is not a member of 'QUIPS IS1.Rpt_REMSLabels_MembershipFile'. Now, the thing which i find most confusing about these errors, is that I have not modified this reports' class file in any way, therefore, why does vs.net create a class for the report with so many errors in it? How on earth do i fix this? I am hoping that someone may be able to offer some assistance very quickly. Regards, Michelle Quote
lcaniglia Posted May 12, 2005 Posted May 12, 2005 I have been struggling with this issue this morning as well. I tried commenting out the code and replacing it but I would get the same errors. Finally I closed down VS.Net completely and then reopened the solution. When it re-opened, all the errors were gone. :confused: Hopefully this will work for you too. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.