Register   Login
     
  Latest Posts  
Select Image Button does not work.
by rtnovak on 1/08/2009 6:37 AM
Lightbox implementation
by max2o on 1/08/2009 6:16 AM
RE: Toolbar links at the top of the articles module
by smcculloch on 1/08/2009 5:52 AM
Toolbar links at the top of the articles module
by wassis on 1/08/2009 5:42 AM
RE: PA Features & Enhancements
by smcculloch on 1/08/2009 4:33 AM
RE: PA Features & Enhancements
by georgelew on 1/08/2009 4:28 AM
RE: Search Wildcard Problem!
by smcculloch on 1/08/2009 4:24 AM
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
  Forums  
Subject: Error sending notification email
Prev Next
You are not authorized to post a reply.

Author Messages
Nghi LeUser is Offline
Gold Membership
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
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


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