Permissions Error When Saving Modules DNN 9

Permissions Error When Saving Modules DNN 9
When attempting to save am HTML Module, or Update Module Settings, the following error may occur:
InnerMessage:Object reference not set to an instance of an object.


   at DotNetNuke.Security.Permissions.PermissionController.<>c__DisplayClass8_0.b__0(PermissionInfo p)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at DotNetNuke.Security.Permissions.PermissionController.GetPermissionsByModule(Int32 moduleId, Int32 tabId)
   at DotNetNuke.Security.Permissions.Controls.ModulePermissionsGrid.GetPermissions()
   at DotNetNuke.Security.Permissions.Controls.PermissionsGrid.CreateChildControls()
   at DotNetNuke.Security.Permissions.Controls.ModulePermissionsGrid.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
To fix, a change needs to be made in the SiteAnalytics.config file using these steps:.
  1. Access your site files through FTP or the Plesk Control Panel
  2. In the root folder(httpdocs) locate the SiteAnalytics.config file. 
  3. Edit the file, and change the <InjectTop>True</InjectTop> to <InjectTop>False</InjectTop>
  4. Recycle your site's application pool. Then attempt to save the module again.
Thank you to the users of the DNN Software Forums for their diligence in providing a fix for this issue.

Add Feedback