Troubleshooting: Preview Report Error – Unable to cast object of type ‘DevExpress.XtraReports.UI.XRRichTextBox’ to type ‘DevExpres.XtraReports.UI.XRRichText’

From AutoCount Resource Center
Revision as of 04:11, 24 October 2018 by LaySwan (talk | contribs) (Created page with "'''Question :''' When I preview Delivery Order report, error message prompted “Unable to cast object of type ‘DevExpress.XtraReports.UI.XRRichTextBox’ to type ‘DevExpr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Question : When I preview Delivery Order report, error message prompted “Unable to cast object of type ‘DevExpress.XtraReports.UI.XRRichTextBox’ to type ‘DevExpress.XtraReports.UI.XRRichText’.” Why?

Richtext1A.png


Possible Reason :

There is some problem with rich text box in the report. Usually rich text is use on Report Header, Further Description and Note.


Solution :

Edit the report and replace the new rich text box.


1) Go to Delivery Order > Report > Design Document Style Report.

Richtext2A.png


2) Select the report that prompted error when preview and click on Design.

Richtext3A.png


3) In the report design, delete the existing rich text box. Example : Report Header.

Richtext4A.png


4) Drag the new rich text box to report designer.

Richtext5.png


5) Drag the field Report Header into the rich text box.

Richtext6.png


6) Save the report, then you can preview the report without error. If the error still exists, then replace the rich text box for Further Description and Note.


Note: Please seek assistance from your software dealer if the problem persists after performing the steps as above.


By : Zalifah 181005, Lay Swan 181009, P181015



Go to menu

IconAcc20.PNG AutoCount Accounting 2.0


IconAcc188.PNG AutoCount Accounting 1.8 / 1.9
Wiki-Payroll.png AutoCount Payroll
Wiki-POS.PNG AutoCount POS
Wiki-AOTG.PNG AutoCount On The Go
Wiki-Accounting-Plugin.png AutoCount Accounting Plug-In Documentations