Page 1 of 1

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

Posted: Mon Apr 05, 2010 1:45 pm
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 :)

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

Posted: Mon Apr 05, 2010 3:33 pm
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?

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

Posted: Tue Apr 06, 2010 8:36 am
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.