Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...errors with site settings, and user roleserrors with site settings, and user roles
Previous
 
Next
New Post
1/3/2014 9:51 AM
 

I am unable to access Admin > Site Settings on a single parent portal in my DNN install

I get this error:  A critical error has occurred. Object reference not set to an instance of an object.

I am also unable to edit roles for users. I get two duplicate errors:

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Security.SecurityRoles.grdUserRoles_ItemCreated(Object sender, DataGridItemEventArgs e) --- End of inner exception stack trace ---

 

I was using 7.1.2 and I upgraded to 7.2 with no change - still can't access

 
New Post
1/4/2014 2:28 AM
 
im not sure why you're seeing this -I can see some poor code in that method that uses an ordinal value, this has proved flaky in the past but when it fails then everyone gets the same issue -im not sure what that is specific to your site is causing the problem. Try opening DesktopModules\Admin\Security\SecurityRoles.ascx.cs and commenting out the line that begins "item.Cells[5].Visible" to see if that resolves it (no need to compile, just do an F5). If so, that would suggest that your layout is different from the normal one, and that usually is a skin related issue.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/13/2014 8:50 AM
 
Same thing happening to me on a site upgraded from 7.2 to 7.3.2. Admin. 7.2 worked, 7.3.2 broke it.

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:973b0835-3029-4f2c-a718-4daa3933bc49
InnerException:Object reference not set to an instance of an object.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:DesktopModules.Admin.Security.Roles.FormatFrequency
StackTrace:
Message:
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DesktopModules.Admin.Security.Roles.FormatFrequency(String frequency)
at ASP.desktopmodules_admin_security_roles_ascx.__DataBinding__control16(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows)
at Telerik.Web.UI.GridItemBuilder.InitializeItem(Int32 dataSourceIndex, String& nextItemHierarchicalIndex, Boolean& itemIsInEditMode)
at Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group)
at Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls)
at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at Telerik.Web.UI.GridTableView.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.RadGrid.DataBind()
at DesktopModules.Admin.Security.Roles.BindData()
at DesktopModules.Admin.Security.Roles.BindGroups()
at DesktopModules.Admin.Security.Roles. (EventArgs e)
--- End of inner exception stack trace ---
 
New Post
9/13/2014 9:55 AM
 
My issue may have been different, but this was my resolution.

http://www.dnnsoftware.com/answers/er...
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...errors with site settings, and user roleserrors with site settings, and user roles


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out