Problem with adding a Role Group
Last Post 07 Sep 2011 02:41 PM by RollyP. 7 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
RollyP New Member New Member Posts:4 Avatar
--
07 Sep 2011 09:56 AM  
I recently created a new role group and moved previously created security roles into the new role group. I then attempt to login into one of my portals, like I have done many times successfully and I receive a “Login failed” error.

So I log in as Host and open MPUS-Xtreme

Here is my Current MPUS-Xtreme Configuration
Cross-domain SSO configuration (Multiple parent portals)
4 parent portals, all assigned to a single shared area

Each portal has the same configuration:
- Share All Users
- Share all roles and groups
- Share all User In Role assignments

When I check the Share Role Group section, the newly created role group is listed, however the checkbox is clear (which makes sense). So I select the checkbox and then at the bottom of the page I click Update. Then I get the following error:

A critical error has occurred.
Object reference not set to an instance of an object.

Here are the details of the log entry:
AssemblyVersion: 5.6.2
PortalID: 0
PortalName: *******
UserID: 1
UserName: host
ActiveTabID: 232
ActiveTabName: DNNMasters MPUS-Xtreme
RawURL: /Host/DNNMasters MPUS-Xtreme/tabid/232/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.******.com/Host/DNNMaste...fault.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; MS-RTC LM 8; .NET4.0E; Zune 4.7; Creative AutoUpdate v1.40.04)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 1b7e044a-80da-4025-86dd-1cc43a771901
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DNNMasters.MPUS.X.Engine.Engine.RoleToAddList
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DNNMasters.MPUS.X.Engine.Engine.RoleToAddList(ArrayList roleList, Int32 PortalID) at DNNMasters.MPUS.X.Engine.Engine.ShareGlobalRole(Int32 PortalID) at DNNMasters.MPUS.X.UI.UserControls.SAPortalEdit.cmdUpdate_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEB

Do you have any idea what happened?
And can you offer a solution?

Many thanks in advance

RollyP
DNNMasters Advanced Member Advanced Member Posts:774 Avatar
--
07 Sep 2011 10:18 AM  
Host access would help. Please email directly to support@
What version of MPUS-X are you running ?
RollyP New Member New Member Posts:4 Avatar
--
07 Sep 2011 10:50 AM  
MPUS-X - 2.1.22
Cannot give Host access as this is an Ecommerce Site
DNNMasters Advanced Member Advanced Member Posts:774 Avatar
--
07 Sep 2011 11:09 AM  
Best way would be to restore from backup to a state before the changes, disable the sharing, move roles, enable sharing again.
RollyP New Member New Member Posts:4 Avatar
--
07 Sep 2011 11:14 AM  
Unfortunately restoring is not an option at this point. (But can be a last ditch effort)

What if I were to disable sharing, then uninstall MPUS-X, delete all associated files and then do a clean install of MPUS-X and then enable and reconfigure sharing.

Would that work?
DNNMasters Advanced Member Advanced Member Posts:774 Avatar
--
07 Sep 2011 11:18 AM  
Problem is not in uninstalling the module but most probably something went wrong after moving roles between groups.
I'll be testing locally in few minutes to see if I can replicate this problem, but it's possible that the internal module information is different than actual state.
Please try the following:
1. backup database
2. un-share portals
3. verify that the users and user-roles are correct
4. share again
DNNMasters Advanced Member Advanced Member Posts:774 Avatar
--
07 Sep 2011 11:19 AM  
I think it would be best to work on a copy of the portal, not on live site.
RollyP New Member New Member Posts:4 Avatar
--
07 Sep 2011 02:41 PM  
All working again
Thank you very much
You are not authorized to post a reply.