Invalid Cast Exception


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I did an update to DevEx 7.3.6 today.  Everything seemed to be fine (no build errors...guess I shouldn't just go on that, huh?).  Then a user calls and alerts me to an error.  On her end it was the dreaded mscorlib error.  When I ran the same steps as she did I got this:

InvalidCastException
  Unable to cast object of type 'DevExpress.Utils.ImageCollectionStreamer' to type 'DevExpress.Utils.ImageCollectionStreamer'.

Source     : MicroFour StrataFrame Inherited UI

Stack Trace:
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialogwindow.InitializeComponent()
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialogwindow..ctor(BrowseDialog BrowseDialogSettings, Boolean PopulateOnShow)
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialog.ShowDialog(Boolean PopulateOnShow)
   at Aspire.Sales.SalesOrders.cmdCustomerSearch_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e)
   at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
   at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How would I prevent something like this from happening?  Everything builds fine, but the application will not run properly.  It is an assembly problem of some kind.  I am looking into it now.

Thanks for any help on this,
Bill

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search