Another issue in the DevExpress XtraReports End-User Designer. After the user creates a report, when trying to open it they receive the following exception error:
Member names cannot be the same as their enclosing type
This is likely to have been caused by the creation of a new data source with the same name as the table to which it is connecting.
Wednesday, October 28, 2009
Wednesday, October 21, 2009
Invoke or BeginInvoke cannot be called
Using the DevExpress XtraReport Designer, if you encounter the following exception error on closing:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
The most likely cause is a failure to close an open report on an XRDesignPanel (XrDesignPanel.CloseReport()).
Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
The most likely cause is a failure to close an open report on an XRDesignPanel (XrDesignPanel.CloseReport()).
Cannot implicitly convert type 'string'
Using the DevExpress XtraReport object: When saving a report layout (using me.SaveLayout()), and then re-loading it (me.LoadLayout()), you receive an exception (XRSerializationException) similar to the following:
Cannot implicitly convert type 'string' to 'DevExpress.XtraReports.UI.XRTableCell'
A known cause of this is when one of the controls/objects in the report has an 'invalid' name. e.g. using a label called 'name' will trigger this exception when trying to reload the report when it encounters a line such as 'me.Name = 'myreport'. It will confuse the report name attribute with the control called 'name'.
Cannot implicitly convert type 'string' to 'DevExpress.XtraReports.UI.XRTableCell'
A known cause of this is when one of the controls/objects in the report has an 'invalid' name. e.g. using a label called 'name' will trigger this exception when trying to reload the report when it encounters a line such as 'me.Name = 'myreport'. It will confuse the report name attribute with the control called 'name'.
Subscribe to:
Posts (Atom)