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 ForumsAuthenticationAuthenticationAdding AD users to security rolesAdding AD users to security roles
Previous
 
Next
New Post
3/10/2008 9:49 AM
 

I have the AD provider setup and running... works fine.

I have a local account which is in the administrator role. I want to add my AD user account to this role or any other role for that matter and cannot. I get the error message below:

_______________________

Error: User Roles 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 ---

______________________

Is this by desgin and AD users cannot be added to local security roles or do I need to configure something else.

(on a side note... and for the benefit of other readers... I have several questions about this module and am planning on posting a thread for each issue... Is this how you want me to proceed or should I throw them all into one thread?)

Regards.
Ross.

 

 
New Post
3/10/2008 11:56 AM
 

Check the account in your AD or even in the DNN interface. I'm guessing it doesn't have an email address listed. The account should still be added to the local role but it's erroring out on the Send Notification process because there's no email address. If that's not the case after you check the account let me know and we'll go from there.

Posting them in separate threads would be the best way I think.

 
New Post
3/10/2008 6:45 PM
 

Mike... you are correct in that when I uncheck the box to send email notification I can add and remove roles at will. Interestingly... with this box unchecked it still sends an email informing the user of their new security role. hmmm.

An error has occurred.
Error: User Roles is currently unavailable.

To answer your question both AD user and DNN users have email account fields populated.

 
New Post
12/19/2008 4:41 PM
 

This is more of an FYI.

I am seeing the same issue and my domain user does have an email in DNN.  It didn't have a display name, so I added one, but the error continues.  However even when I get the error, upon refresh, the user has been added to the proper group.   And Mike and Ross are right, unchecking the "Send Notification?" checkbox eliminates the error althogether.


-something clever or funny.
 
New Post
12/20/2008 9:38 PM
 

Mark what version of the AD Provider are you running. This problem should be gone by the .04 release version.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAdding AD users to security rolesAdding AD users to security 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