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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationError when adding user to role Error when adding user to role
Previous
 
Next
New Post
6/11/2008 9:46 AM
 

Whenever I add a role to a user on a portal (DNN4.8.2. and then 4.8.3), I get the following error message.   When I click 'add to role' again, the role is listed for the user and (apparently) functional.

Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: String reference not set to an instance of a String. Parameter name: name ---> System.ArgumentNullException: String reference not set to an instance of a String. Parameter name: name at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) at DotNetNuke.Security.Roles.RoleController.SendNotification(UserInfo objUser, RoleInfo objRole, PortalSettings PortalSettings, String Action) at DotNetNuke.Security.Roles.RoleController.AddUserRole(UserInfo objUser, RoleInfo objRole, PortalSettings PortalSettings, DateTime effDate, DateTime expDate, Int32 userId, Boolean notifyUser) at DotNetNuke.Modules.Admin.Security.SecurityRoles.cmdAdd_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

I've been having issues with users getting logged off repeatedly, and I'm not sure if this has anything to do with this or something else.   Anyone have any ideas?
Thanks.
Jill

 
New Post
6/11/2008 12:01 PM
 

Are you using any of the extra authentication providers or just the standard DNN provider?

 
New Post
7/8/2008 11:30 PM
 

I get this as well though I don't have to add the user a second time - user is added to role despite the error displayed, if I just ignore it and move on.

Mostly just using AD authentication.  DNN 4.8.2 at the moment and DNN security is enabled but I'm the only DNN user.

.NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8ecf2cef-0bf2-44d9-8b0f-bf27d87271b5
InnerException: String reference not set to an instance of a String. Parameter name: name
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Globalization.CultureInfo..ctor
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: String reference not set to an instance of a String. Parameter name: name ---> System.ArgumentNullException: String reference not set to an instance of a String. Parameter name: name at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) at DotNetNuke.Security.Roles.RoleController.SendNotification(UserInfo objUser, RoleInfo objRole, PortalSettings PortalSettings, String Action) at DotNetNuke.Security.Roles.RoleController.AddUserRole(UserInfo objUser, RoleInfo objRole, PortalSettings PortalSettings, DateTime effDate, DateTime expDate, Int32 userId, Boolean notifyUser) at DotNetNuke.Modules.Admin.Security.SecurityRoles.cmdAdd_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---


pmgerholdt
 
New Post
7/8/2008 11:42 PM
 

I have no idea if this is applicable to AD authentication or not (I've not had the opportunity to use it yet), but I ran into the exact same error when using code-generated users that did not have a country specified in the UserInfo object.  Is it possible that this is the case in this scenario as well?

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
7/9/2008 2:01 AM
 

Yes it is Brandon and it's fixed in the next release of the AD Provider which is in the Release Tracker right now.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationError when adding user to role Error when adding user to role


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