RefreshBoundControls error


Author
Message
dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi,

I have an error in my application when I try to close form

The error appears on line MyBase.dispose.



Any help.



Here is a stack information

bei MicroFour.StrataFrame.Business.BusinessLayer.RefreshBoundControls()

bei MicroFour.StrataFrame.Business.BusinessLayer.Refresh()

bei MicroFour.StrataFrame.UI.Windows.Forms.BusinessObjectTranslator.UnTranslateBusinessObjects(BusinessObjectTranslationCollection Translations, ContainerControl ParentContainer, ContainerControl ChildContainer)

bei MicroFour.StrataFrame.UI.Windows.Forms.UserControl.Dispose(Boolean disposing)

bei MKS.GoliathNet.Windows.Controls.MKSBaseServiceContainer.Dispose(Boolean disposing) in Y:\Projekte.Net\ApplicationBasis\MKS.GoliathNet.Kernel\MKSBaseControls\Containers\MKSBaseServiceContainer.Designer.vb:Zeile 12.

bei MKS.GoliathNet.Services.MKSKontakteServiceControl.Dispose(Boolean disposing) in Y:\Projekte.Net\Modules\ApplicationModules\MKSKontakte\MKSKontakte\MKSKontakteServiceControl.Designer.vb:Zeile 13.

bei System.ComponentModel.Component.Dispose()

bei System.Windows.Forms.Control.Dispose(Boolean disposing)

bei DevExpress.XtraEditors.XtraScrollableControl.Dispose(Boolean disposing)

bei DevExpress.XtraTab.XtraTabPage.Dispose(Boolean disposing)

bei System.ComponentModel.Component.Dispose()

bei System.Windows.Forms.Control.Dispose(Boolean disposing)
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (652 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
I unfortunately can't give much direction with just that one stack trace. Do you have a ChildFormDialog object on your form? If so, could you try taking that off and seeing if the problem goes away? The only thing I can see there is some calls dealing with BO transalations, but I don't know if that is due to a child dialog or just normal business layer unwinding processes on a dispose.

If this isn't due to a child dialog, could you try duplicating this on a small sample app that we can load up and trace through?

dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi,

I wrote in Dispose code to remove translations.. and it works now.



Denis
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