Group: Forum Members
Posts: 153,
Visits: 462
|
This error does not occur on my laptop but when deployed to a client server this error appears. It only happens when my main application references a separate SF User Control DLL, that DLL then appears with as expected. I have a CONTINUE button on the user control. When clicked it calls code from a class in the main executable and then this error occurs. I'm not giving you much info here but I thing it is something that may require Trust, etc... Running it by you to see if you may have any info:
SecurityException Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source : MicroFour StrataFrame Base
Stack Trace: at MicroFour.StrataFrame.Win32.ApiCalls.User32.CallNextHookEx(IntPtr HookHandle, Int32 Code, IntPtr wParam, IntPtr lParam) at MicroFour.StrataFrame.Security.SessionLock.HandleWndProc(Int32 Code, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(HandleRef hWnd) at System.Windows.Forms.UnsafeNativeMethods.DestroyWindow(HandleRef hWnd) at System.Windows.Forms.Nativewindow.DestroyHandle() at System.Windows.Forms.ToolTip.DestroyHandle() at System.Windows.Forms.ToolTip.Dispose(Boolean disposing) at System.ComponentModel.Component.Dispose() at System.Windows.Forms.ToolStrip.Dispose(Boolean disposing) at MicroFour.StrataFrame.UI.Windows.Forms.ThemedToolStrip.Dispose(Boolean disposing) at System.Windows.Forms.Control.Dispose(Boolean disposing) at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing) at MicroFour.StrataFrame.UI.Windows.Forms.UserControl.Dispose(Boolean disposing) at VisualOfficeNetAskAtRuntimeUserControls.uctAskAtRuntime.Dispose(Boolean disposing) at MicroFour.StrataFrame.UI.Windows.Forms.PanelManager.Dispose(Boolean disposing) at Infragistics.Win.IGPanel.Dispose(Boolean disposing) at Infragistics.Win.UltraWinTabControl.UltraTabPageControl.Dispose(Boolean disposing) at Infragistics.Win.UltraControlBase.Dispose(Boolean disposing) at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.Dispose(Boolean disposing) at Infragistics.Win.UltraWinTabControl.UltraTabControl.Dispose(Boolean disposing) at System.Windows.Forms.Form.Dispose(Boolean disposing) at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Dispose(Boolean disposing) at MicroFour.StrataFrame.UI.Windows.Forms.StandardForm.Dispose(Boolean disposing) at visualOfficeNet.Forms.EasyQuery.frmEasyQuery.Dispose(Boolean disposing) in C:\visualOfficeNet\visualOfficeNet\Forms\EasyQuery\frmEasyQuery.Designer.cs:line 20 at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) 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)
|