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
7/11/2008 1:12 PM
 

I have same error on 4.8.2 and I removed teh live id and openid, restarted app and still have error. Any other course I should take? I also notice that when adding role and it giving error, though the role is added, the email isn't sent.

Thx,
Tj

 
New Post
7/11/2008 2:00 PM
 

Check your users info and make sure their information is completely filled out (username, firstname, lastname, email, etc).

 
New Post
7/11/2008 2:38 PM
 

PreferredLocale must also be specified.  If you are proficient with SQL, you can query for missing values using a join of the ProfilePropertyDevinition, UserProfile, and User tables. 

Although you receive an error here, note that it does not impede underlying role functionality (other than the missing e-mail).

@Mike: Will the provider update automatically insert those missing profile values that should have been inserted initially, or will this be the responsibility of the host?

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
7/11/2008 5:27 PM
 

The AD Provider will for email if it's filled out in the AD settings. It will also pull in any default values set in the profile properties but I'm not 100% sure about the Preferred Locale. I'd have to go back and check the code which isn't handy ATM. However only the second poster stated that they were using the AD Provider. I don't know if that is the case with the other two posters or whether this is a deeper problem that needs to be looked at.

 
New Post
7/28/2008 6:09 AM
 

Here is the SQL:

INSERT INTO UserProfile
(UserID, PropertyDefinitionID, PropertyValue, PropertyText, Visibility, LastUpdatedDate)
SELECT u.UserID, 38, 'en-US', NULL, 2, GETDATE()
FROM Users u
WHERE NOT EXISTS(SELECT * FROM UserProfile WHERE PropertyDefinitionID=38 AND UserID=u.UserID)

Replace 38 with the prop def ID of PreferredLocale and 'en-US' with the locale you want to set them to.

Peter


Peter Donker
Bring2mind http://www.bring2mind.net
Home of the Document Exchange,
the professional document management solution for DNN
 
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