Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Securing an individual Tab Page.
Message
De
05/03/2007 11:59:38
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Securing an individual Tab Page.
Divers
Thread ID:
01200775
Message ID:
01200775
Vues:
63
Securing an individual Tab Page.
How can I set security on a single tab page? In my application I need to have one page in a set of tabpages security set to “none” not visible for all but one group. I tried changing the page to a mmTabPage and setting the security to none but I get the following error.
“Object reference not set to an instance of an object.”
With the following stack trace
OakLeaf.MM.Main.Security.mmSecurityManager.GetUserRoleDefaultAccess(Guid securityID, DataSet dsRoleSecurity, DataSet dsUserRoles, mmSecurityAccessLevel level)
at OakLeaf.MM.Main.Security.mmSecurityManager.GetAccessLevel(Object userPK, Guid securityID, DataSet dsUserSecurity, DataSet dsRoleSecurity)
at OakLeaf.MM.Main.Security.mmSecurityManager.GetAccessLevel(Guid securityID, DataSet dsUserSecurity, DataSet dsRoleSecurity)
at OakLeaf.MM.Main.Security.mmSecurityManager.GetAccessLevel(Guid securityID)
at OakLeaf.MM.Main.Security.mmSecurityManager.SetControlAccess(ImmSecurityBase control)
at OakLeaf.MM.Main.Windows.Forms.mmUISecurityStrategy.RegisterSecureControl(ImmUISecurity secureControl)
at OakLeaf.MM.Main.Windows.Forms.mmTabControl.RegisterSecurity()
at OakLeaf.MM.Main.Windows.Forms.mmTabControl.set_ControlID(Guid value)
at NYSTAX.APPDEV.IMAGING.HUTLockbox.frmReturnMaint.InitializeComponent() in d:\Documents and Settings\ea01bg\My Documents\Visual Studio 2005\Projects\HUTLockBox\HutLockbox\frmReturnMaint.Designer.vb:line 157
at NYSTAX.APPDEV.IMAGING.HUTLockbox.frmReturnMaint..ctor() in d:\Documents and Settings\ea01bg\My Documents\Visual Studio 2005\Projects\HUTLockBox\HutLockbox\frmReturnMaint.vb:line 24
at NYSTAX.APPDEV.IMAGING.HUTLockbox.MainForm.ReturnMaintananceToolStripMenuItem_Click(Object sender, EventArgs e) in d:\Documents and Settings\ea01bg\My Documents\Visual Studio 2005\Projects\HUTLockBox\HutLockbox\MainForm.vb:line 60
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at NYSTAX.APPDEV.IMAGING.HUTLockbox.AppMainEntry.Main() in d:\Documents and Settings\ea01bg\My Documents\Visual Studio 2005\Projects\HUTLockBox\HutLockbox\Main.vb:line 42
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform