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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error when adding new user.Error when adding new user.
Previous
 
Next
New Post
7/27/2016 3:12 AM
 

This has just started on one of my sites. v8.0.3 when adding a new user. User gets created but notification is not delivered. SMTP server settings are correct.

Error is: 

"Object reference not set to an instance of an object.

at DotNetNuke.Entities.Users.UserInfo.GetProperty(String propertyName, String format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, Boolean& propertyNotFound)
   at DotNetNuke.Services.Tokens.BaseCustomTokenReplace.replacedTokenValue(String objectName, String propertyName, String format)
   at DotNetNuke.Services.Tokens.BaseTokenReplace.ReplaceTokens(String sourceText)
   at DotNetNuke.Services.Tokens.TokenReplace.ReplaceTokens(String sourceText)
   at DotNetNuke.Services.Tokens.TokenReplace.ReplaceEnvironmentTokens(String sourceText, IDictionary custom, String customCaption)
   at DotNetNuke.Services.Localization.Localization.GetSystemMessage(String strLanguage, PortalSettings portalSettings, String messageName, UserInfo userInfo, String resourceFile, ArrayList customArray, IDictionary customDictionary, String customCaption, Int32 accessingUserID)
   at DotNetNuke.Services.Mail.Mail.SendMail(UserInfo user, MessageType msgType, PortalSettings settings)
   at DotNetNuke.Modules.Admin.Users.EditUser.ProfileUpdateCompleted(Object sender, EventArgs e)
   at DotNetNuke.Entities.Modules.ProfileUserControlBase.OnProfileUpdateCompleted(EventArgs e)
   at DesktopModules.Admin.Security.DNNProfile.cmdUpdate_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint"

Any help with this would be appreciated.

cheers
Martyn
 
New Post
7/27/2016 4:54 AM
 
did you delete one of the default user profile properties?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/2/2016 10:41 PM
 

Hi Sebastian,

No nothing has been deleted.

 
New Post
8/3/2016 11:00 AM
 
strange, Token replace is looking for a user property, which should be present but seems to be missing.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/7/2016 9:22 PM
 
Is there any way of finding out which user property it's failing to find?
I've double checked and the site owner (admin) has added some properties to the user profile but I comparing with a vanilla install I cannot see any that any properties have been deleted. Perhaps a renaming would do it?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error when adding new user.Error when adding new user.


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