﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Report Creation Error</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 17:07:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Report Creation Error</title><link>http://forum.strataframe.net/FindPost16684.aspx</link><description>I am using DevExpress to create an invoice.&amp;nbsp; I have done this similar procedure several times now in SF (sales orders, acknowledgements, packing lists, etc.).&amp;nbsp; Today I have been unable to resolve an error.&amp;nbsp; Here it is:&lt;/P&gt;&lt;P&gt;==========&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;Message: Object does not match target type./r/nSource: mscorlib/r/nInner Exception: /r/nStack Trace: at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target)&lt;BR&gt;at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)&lt;BR&gt;at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;BR&gt;at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)&lt;BR&gt;at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)&lt;BR&gt;at MicroFour.StrataFrame.Business.ReflectionPropertyDescriptor.GetValue(Object component)&lt;BR&gt;at DevExpress.XtraReports.UI.XRBinding.GetImmediateColumnValue(XRDataContext dataContext, ImagesContainer images)&lt;BR&gt;at DevExpress.XtraReports.UI.XRBinding.GetColumnValue(XRDataContext dataContext, ImagesContainer images)&lt;BR&gt;at DevExpress.XtraReports.UI.XRBinding.UpdatePropertyValue(XRDataContext dataContext, ImagesContainer images)&lt;BR&gt;at DevExpress.XtraReports.UI.XRControl.UpdateBindingCore(XRDataContext dataContext, ImagesContainer images)&lt;BR&gt;at DevExpress.XtraReports.UI.XRFieldEmbeddableControl.UpdateBindingCore(XRDataContext dataContext, ImagesContainer images)&lt;BR&gt;at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)&lt;BR&gt;at DevExpress.XtraReports.UI.Band.GenerateContent(DocumentBand docBand, Int32 rowIndex, Boolean fireBeforePrint)&lt;BR&gt;at DevExpress.XtraReports.UI.Band.GenerateWithSubreports(DocumentBand docBand, Int32 rowIndex, Boolean fireBeforePrint)&lt;BR&gt;at DevExpress.XtraReports.Native.SelfGeneratedDocumentBand..ctor(RootDocumentBand root, DocumentBandKind kind, Band band, Int32 rowIndex, Boolean fireBeforePrint)&lt;BR&gt;at DevExpress.XtraReports.UI.Band.CreateDocumentBand(Int32 rowIndex, RootDocumentBand rootDocBand)&lt;BR&gt;at DevExpress.XtraReports.UI.Band.CreateDocumentBand(Band band, Int32 rowIndex, BandKind bandKind, RootDocumentBand rootDocBand)&lt;BR&gt;at DevExpress.XtraReports.Native.Printing.DocumentBuilder.CreateDocumentBand(BandKind bandKind, Int32 rowIndex)&lt;BR&gt;at DevExpress.XtraReports.Native.Printing.DocumentBuilder.CreateDocumentBand(BandKind bandKind)&lt;BR&gt;at DevExpress.XtraReports.Native.Printing.DocumentBuilder.Build()&lt;BR&gt;at DevExpress.XtraReports.Native.Printing.RootReportBuilder.Build()&lt;BR&gt;at DevExpress.XtraReports.UI.XtraReportBase.BuildDocument(DocumentBuilder builder)&lt;BR&gt;at DevExpress.XtraReports.UI.XtraReport.CreateDocument(PrintingSystem ps, Single progressRange)&lt;BR&gt;at DevExpress.XtraReports.UI.XtraReport.CreateDocument(Single progressRange)&lt;BR&gt;at DevExpress.XtraReports.UI.XtraReport.CreateDocument()&lt;BR&gt;at Aspire.Accounting.Invoicing.PrintInvoicesTSB_Click(Object sender, EventArgs e) in C:\Aspire Projects\AspireSF\Aspire.Accounting\Invoicingcs:line 239&lt;BR&gt;at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;BR&gt;at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;BR&gt;at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;BR&gt;at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;BR&gt;at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;BR&gt;at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;BR&gt;at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;BR&gt;at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR&gt;at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;BR&gt;at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)&lt;BR&gt;at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp;amp; m)&lt;BR&gt;at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp;amp; m)&lt;BR&gt;at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;I have agonizingly&amp;nbsp;walked a trace through every step.&amp;nbsp; When it reaches the very last field in the very last BO (extprice), the process aborts and displays the above error.&lt;/P&gt;&lt;P&gt;I have been really struggling with this for two full days.&amp;nbsp; Can anyone give me some pointers on this?&amp;nbsp; I do not think it is the DevEx report...I think it has to do with the BO, BBS or Datasource somewhere along the line.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 29 May 2008 14:11:29 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Report Creation Error</title><link>http://forum.strataframe.net/FindPost16695.aspx</link><description>Exactly :D</description><pubDate>Thu, 29 May 2008 14:11:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Report Creation Error</title><link>http://forum.strataframe.net/FindPost16691.aspx</link><description>Yup...get it into the BO...experience is often a harsh, strict, but effective, teacher.&amp;nbsp; Thanks.</description><pubDate>Thu, 29 May 2008 13:43:48 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Report Creation Error</title><link>http://forum.strataframe.net/FindPost16690.aspx</link><description>Glad you got it going...we do not use XtraReports but rather Report Sharp-Shooter....we haven't had any issues on this side...however, we too generate custom properties many times...or, calculate this via the sproc or method that generates the results set depending on what we are trying to accomplish.</description><pubDate>Thu, 29 May 2008 13:40:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Report Creation Error</title><link>http://forum.strataframe.net/FindPost16689.aspx</link><description>I have worked around the error by replacing all calculated fields on the report with custom BO properties.&amp;nbsp; For some reason, the report will not calculate simple things.&amp;nbsp; Oh, well, it is better to have&amp;nbsp;these kinds of&amp;nbsp;things&amp;nbsp;in the business object, anyway.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Thu, 29 May 2008 13:07:42 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>