We have a website with many child portals, one for each subdivision. (
www.azcourts.gov)
Yesterday we had a training class for the portal admins and kept seeing permissions issues.
Users would be logged in, working in the Pages tab in the Admin area, and it would just randomly tell them they do not have permission to that page. They were still logged in. If they refreshed a few times, or clicked away and came back, the page displayed fine again. This seemed to happen about 1 out of 10 times.
The event viewer was recording a ThreadAbortException at
..DesktopModules\Admin\Tabs\ManageTabs.ascx.vb:line 658
Below is the full error.
The line of code that references is the redirect statement below:
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
' Verify that the current user has access to edit this module
If Not TabPermissionController.HasTabPermission("ADD,EDIT,COPY,DELETE,MANAGE") Then
Response.Redirect(AccessDeniedURL(), True)
End If
End Sub
When setting up the site, we have not seen this error, but we have been logged in as Host.
These users were created as Registered Users in the parent portal.
Then I manually added them to the needed child portals in the database UserPortals table, then gave them Admin privileges using the web screen.
Class was very confusing to our users. I have two more classes to give. Is there a fix for this??
Message: System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.Page_Init(Object sender, EventArgs e) in C:\Inetpub\vhosts\azcourts.gov\httpdocs\DesktopModules\Admin\Tabs\ManageTabs.ascx.vb:line 658 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.LoadUpdatePanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)