Register   Login
     
  Latest Posts  
RE: Featured articles: what's mean exactly?
by gicannalire on 11/19/2008 1:45 PM
RE: direct link to a special album
by smcculloch on 11/19/2008 1:15 PM
RE: Is the Archive module an archive or an index?
by smcculloch on 11/19/2008 1:15 PM
RE: Does the contact form not get a logged in users details?
by smcculloch on 11/19/2008 1:14 PM
RE: token that lets me link to a download file
by smcculloch on 11/19/2008 1:13 PM
RE: Combining Simple Gallery With Articles...
by smcculloch on 11/19/2008 1:13 PM
RE: AutoFill fields by selection Type
by smcculloch on 11/19/2008 1:12 PM
RE: Ratings button appears to anonymous users
by smcculloch on 11/19/2008 1:11 PM
RE: Redirecting non-DNN generated urls
by smcculloch on 11/19/2008 1:10 PM
RE: Archive Issue
by smcculloch on 11/19/2008 1:09 PM
  Forums  
Subject: Error sending notification email
Prev Next
You are not authorized to post a reply.

Author Messages
Nghi LeUser is Offline
Registered Users
Nuke Addict
Nuke Addict
Posts:68

3/02/2008 9:53 PM  

Hi Scott,

I'm having a very annoying error and don't know how to fix it. This happens when I add users to a role and does not happen when I remove users from a role. As a result, the action is still completed, but the notification email is not sent.

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 ---

DNN 4.8.0
Friendly URL off
Using Page Blaster
Happens with both English and Other localizations.

Each time this occurs, it restarts the application. This is REALLY annoying.

Can you help me troubleshoot the problem?

Thanks


Pijaja.Com - Innovative Site Builder
Sirius - Free DNN Skin
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12427


3/03/2008 4:35 AM  
Taking a look at the dotnetnuke code, make sure the user you are adding the role to has a locale specified (in their profile). Could be a core bug if the profile hadn't been initialised though.

Scott McCulloch
Site Administrator
Nghi LeUser is Offline
Registered Users
Nuke Addict
Nuke Addict
Posts:68

3/03/2008 7:21 AM  

Thanks a thousand Scott! This explains and solves everything. The problem comes from a custom module on my site.

Best regards.


Pijaja.Com - Innovative Site Builder
Sirius - Free DNN Skin
Alexander ResnikUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:1

3/17/2008 12:38 AM  
This explains and solves everything. The problem comes from a custom module on my site.

Hello

I have the same problem. And I have my own module(s) installed. With new own profile properties added. Please can you tell me how did you solved this problem. Need I call something while adding and registering new user? How can I initialize user profile by application module logic?

Thanks

Alex

 

You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > Error sending notification email



ActiveForums 3.7