The type 'Reports.Report' already contains a definition for 'x'

Stimulsoft Reports.WPF discussion
Post Reply
MasterCephus
Posts: 16
Joined: Wed Mar 24, 2010 6:08 am

The type 'Reports.Report' already contains a definition for 'x'

Post by MasterCephus »

using 2010.1 version...

I imported a crystal report file and I got about 8 of these errors where 'x' ranges in different types of sub reports. Under messages, I tracked down where the issues are occurring and removed them. But I still get the same error even I after I click the Preview and for a Refresh. The messages pane isn't the easiest tool to use, but I am getting nowhere on how to fix this issue.

Any ideas on how to get this fixed? What can I post to help you help me :)
MasterCephus
Posts: 16
Joined: Wed Mar 24, 2010 6:08 am

The type 'Reports.Report' already contains a definition for 'x'

Post by MasterCephus »

So I am thinking I am seeing the problem. Apparently some pages have the same name as Sub-Reports. Is this not allowed?
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

The type 'Reports.Report' already contains a definition for 'x'

Post by Andrew »

Hello,

Unfortunately, import from Crystal cannot convert a report exactly without problems. Import from Crystal tries to convert "as is".
If you had duplicated names in your report, then this can be a problem because Stimulsoft Reports.Net requires that names must be unique.

Thank you.
Post Reply