Compile error - definition already exists

This public forum is for user-to-user discussions of ASP.NET Report Maker. Note that this is not support forum.

Compile error - definition already exists

Postby ronmzz » Thu Nov 13, 2014 3:55 am

Does anyone have any idea what the problem is here? Trying to get ASP.Net report maker to run on MS Server 2008 with SQL Server. Everything appears properly configured and loaded, I can generate the files but constantly get errors like the one below. It appears there is already a 'definition' for something... but where do I find that and correc ti?


Server Error in '/online/simplytracking/st090901/ARM7' Application.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0102: The type 'AspNetReportMaker7_project7_base' already contains a definition for 'crTraining_By_Person_summary_base'

Source Error:

Line 49: // Page class
Line 50: //
Line 51: public class crTraining_By_Person_summary_base<C, S> : crTraining_By_Person
Line 52: where C : cConnectionBase, new()
Line 53: where S : cAdvancedSecurityBase, new()

Source File: c:\inetpub\wwwroot\srvr2\online\simplytracking\st090901\ARM7\App_Code\AspNetReportMaker7_project7_dll\ronTraining_By_Personsmry.cs Line: 51

Show Detailed Compiler Output:
Show Complete Compilation Source:

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
Posts: 1
Joined: Thu Nov 13, 2014 3:41 am

Re: Compile error - definition already exists

Postby vincenthung » Thu Nov 13, 2014 4:41 pm

Cannot simulate your problem.

Please try to clear the destination folder by [Generate] ->[clear folder] Choose "App_Code and destination folder (Delete all)" and try again.
Posts: 292
Joined: Mon Sep 01, 2014 9:58 am

Return to General Discussion (ASP.NET Report Maker)