473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Crystal 'Multiple Defs w/ Identical Signatures' in generated code

A developer created a Crystal report in .NET.
I added the .RPT file to one of my .NET projects as an existing file.
It immediatly reported several errors in the generated [reportname].vb file
where it created its class and listed the sections as properties but listed
some of them twice, returning different ReportDefinition.Sections items...

'---------- CRYSTAL GENERATED CODE...
<Browsable(false), _

DesignerSerializationVisibilityAttribute(System.Co mponentModel.DesignerSerializationVisibility.Hidde n)> _
Public Overloads ReadOnly Property Section4 As
CrystalDecisions.CrystalReports.Engine.Section
Get
Return Me.ReportDefinition.Sections(56)
End Get
End Property

<Browsable(false), _

DesignerSerializationVisibilityAttribute(System.Co mponentModel.DesignerSerializationVisibility.Hidde n)> _
Public Overloads ReadOnly Property Section4 As
CrystalDecisions.CrystalReports.Engine.Section
Get
Return Me.ReportDefinition.Sections(96)
End Get
End Property

'---------- END OF CODE

The two index values are returning the same sections. Not sure if there are
two Instances of the same section in the collection or if Crystal has two
references in its collection to a single private instance.

Anyone seen this before? Any ideas of ridding myself of the errors? The
code gets regenerated so changing it doesn't really help.
Nov 21 '05 #1
1 1104
nevermind, found it elsewhere

"Troy" wrote:
A developer created a Crystal report in .NET.
I added the .RPT file to one of my .NET projects as an existing file.
It immediatly reported several errors in the generated [reportname].vb file
where it created its class and listed the sections as properties but listed
some of them twice, returning different ReportDefinition.Sections items...

'---------- CRYSTAL GENERATED CODE...
<Browsable(false), _

DesignerSerializationVisibilityAttribute(System.Co mponentModel.DesignerSerializationVisibility.Hidde n)> _
Public Overloads ReadOnly Property Section4 As
CrystalDecisions.CrystalReports.Engine.Section
Get
Return Me.ReportDefinition.Sections(56)
End Get
End Property

<Browsable(false), _

DesignerSerializationVisibilityAttribute(System.Co mponentModel.DesignerSerializationVisibility.Hidde n)> _
Public Overloads ReadOnly Property Section4 As
CrystalDecisions.CrystalReports.Engine.Section
Get
Return Me.ReportDefinition.Sections(96)
End Get
End Property

'---------- END OF CODE

The two index values are returning the same sections. Not sure if there are
two Instances of the same section in the collection or if Crystal has two
references in its collection to a single private instance.

Anyone seen this before? Any ideas of ridding myself of the errors? The
code gets regenerated so changing it doesn't really help.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Matt Fuerst | last post by:
Greetings all, I'm having an issue with my Web application. It's deployed using Crystal Reports 8.0 Developer edition. I have an RPT file with a relatively large number of formulas (30+). I...
8
by: Peter A. Schott | last post by:
Per subject - I realize I can copy/paste a line at a time into an interactive session when I'm trying to debug, but was wondering if there is any tool out there that allows me to copy sections of...
2
by: G Patel | last post by:
aan anyone tell me what a .defs and .s file extensions are in a C program (folder)? thanks a lot
3
by: lee_mcknight | last post by:
I am using Crystal Enterprise V9. I have a report that needs to have multiple datasets as the datasource(s) on a single subreport (some common lookup data I need to join to is stored in a seperate...
3
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
1
by: michelle | last post by:
Hi, I'm brand new to Crystal Reports and have just gotten my feet wet with VS.Net. I have a web application in ASP.NET 2.0 (VB) that writes to a SQL Server 2005 database. I need to utilize...
0
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
1
by: daokfella | last post by:
I want to extend the auto-generated tableadapter classes created by the dataset designer. I'd like to add a connectionString property so I can set this outside my class library. I've got Get/Set...
0
by: peasthope | last post by:
A text of <!DOCTYPE html ... "... xhtml-math-svg-flat.dtd"> is visible at http://carnot.yi.org/Category2.xhtml . It contains one svg element which contains a defs element. Suppose that a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.