Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
625
InvalidCastException...?
posted

I'm getting the following error and I'm not having much luck figuring out what's going wrong. 

Unable to cast object of type <my Form> to type 'Infragistics.Win.UltraWinDock.FloatingWindowContainer'. 

I have several forms that I open as MDI Children that were working fine yesterday, I know I must have done something but I don't know what...now one of my forms will not open in VS's designer or at run-time.

Can anyone tell me what might be causing this?

  • 44743
    posted

    If this is happening when you open the form, there could be a problem with the dock manager's serialization logic and I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp. Also, if there is a stack trace associated with the exception, I might be able to offer more help.