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...Module ForumsModule ForumsForumForumError: User Settings is currently unavailableError: User Settings is currently unavailable
Previous
 
Next
New Post
8/28/2007 10:55 AM
 

Dear all,

I've noticed that when you have several foros in which the same login is able to post, you only can edit his settings from one of the forum modules.

It is like the user settings is general for the portal and you cannot have different settings in each forum.

Regards

Xavier Hernández

 
New Post
9/3/2007 11:40 PM
 

The bug exists because of the problems identified, if the module is used in more than a single forum module instance on an install this will happen.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
10/2/2007 9:56 AM
 

ckkkalvin wrote
ModuleId: 392
ModuleDefId: 102
FriendlyName: User Settings
ModuleControlSource: DesktopModules/Forum/Forum_UserSettings.ascx
AssemblyVersion: 04.04.00
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 61
ActiveTabName: Forum
RawURL: /a/Forum/tabid/61/ctl/usersettings/mid/392/Default.aspx
AbsoluteURL: /a/Default.aspx
AbsoluteURLReferrer: http://localhost/a/Forum/tabid/61/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SIMBAR={01E7DF9E-7DDE-4cf5-857E-2C7321DD6B40}; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 828e2f0a-4cae-4cc0-b5d6-835f6b302342
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Forum.UserSettings.SelectMultiTreeItems
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.UserSettings.SelectMultiTreeItems(DnnTree objTree, Int32 ForumID) at DotNetNuke.Modules.Forum.UserSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

The StackTrace identifies, at least, the problem for now. The code does not handle an empty node begin returned by the SelectMultiTreeItems method. On line 945 of Forum_UserSettings.ascx.vb a line of code is called:  Dim objGroupNode As DotNetNuke.UI.WebControls.TreeNode = objTree.TreeNodes.FindNodeByKey("G" & objGroup.GroupID.ToString) This value in some cases returns nothing, but there is no handling for this.

I have not encountered any unintended side-effects, yet.  But I simply test for a null value and if it is so do not execute the code in this function.  I am returned to MySettings and all behaves as I would expect.  I do wish to stress this is just handling what "appears" to be obvious, but may not be so.  Under the circumstances where you are likely to encounter this scenario, those circumstances may be relatively rare.  I'll do some more testing and see what happens.

 
New Post
11/13/2007 1:49 PM
 

Great work, jfs67!


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
4/27/2008 5:17 PM
 

So what is the fix for this error for someone without the knowledge to edit the code. Is the sql statements posted a few message up the solution? I will not delete the account for that user, correct?

I have tried everything to get this fixed, unchecked all forum notifications and still have same error. I also don't get notified when there is a new thread anyway.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumError: User Settings is currently unavailableError: User Settings is currently unavailable


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