March 28, 2013

DotNetNuke (DNN) Error in Password Resetting


Error :


AssemblyVersion: 6.2.0

StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Text.RegularExpressions.Regex.Replace(String input, String replacement) at DotNetNuke.Common.Utilities.HtmlUtils.StripWhiteSpace(String HTML, Boolean RetainSpace) at DotNetNuke.Services.Mail.Mail.SendMailInternal(MailMessage mailMessage, String subject, String body, MailPriority priority, MailFormat bodyFormat, Encoding bodyEncoding, IEnumerable`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String senderAddress, String toAddress, String subject, String body) at DotNetNuke.Services.Mail.Mail.SendMail(UserInfo user, MessageType msgType, PortalSettings settings) at DotNetNuke.Modules.Admin.Users.ManageUsers.PasswordUpdated(Object sender, PasswordUpdatedEventArgs e) 


Solution : 
We tried out lot of things and finally finally figured out the error. It was that the subject localization key is missing in the GlobalResources.resx file. Once you add the following key 
EMAIL_USER_UPDATED_OWN_PASSWORD_SUBJECT.Text everything was working perfectly....

2 comments:

  1. In new installation of version 05.06.02 (144) I tried updating from Encrypted to Hashed. At that focus I would be unable to log into the site. I might enter notice username/pw and might be come back to the home page (no mistake post). Just when I altered back might I get in.

    What am I missing? suggest me

    DotNetNuke Support

    ReplyDelete
  2. I'm sorry but didn't get your question clearly. Can you please tell me the steps that you followed, so that I can help you on this. :)

    ReplyDelete