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...Using Modules a...Using Modules a...Error thrown when 'Auto Configure' Social Groups 7.3.4Error thrown when 'Auto Configure' Social Groups 7.3.4
Previous
 
Next
New Post
4/7/2015 7:28 AM
 

Environment:
DNN has upgraded from v6.2.9 to v7.3.4.
Social Groups v7.3.4
Windows 2008 R2
.net framework 4.0
Active Directory authentication enabled (NTLM only)
Browser version is IE version 9

Requirement:
Adding Social Groups

The problem and followed steps:
1. Added new page (Page View permission granted to all users)
2. Added Social Groups module in to the newly created page
3. Below error thrown when we try to “Auto Configure” the module

Error in the browser;
A critical error has occurred. Please check the Event Viewer for further details. 

Error in the Event Viewer;
AssemblyVersion:7.3.4
PortalID:0
PortalName:MyDNN
UserID:7148
UserName:MYDOMAIN\user1
ActiveTabID:912
ActiveTabName:Social Compo1
RawURL:/dnn/Applications/SocialCompo1/tabid/912/Default.aspx
AbsoluteURL:/DNN/Default.aspx
AbsoluteURLReferrer:http://myserver/dnn/Applications/SocialCompo1/tabid/912/Default.aspx
UserAgent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3)
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID:647bd2cf-7d73-474d-9e47-ac61ca094c8b
InnerException:Object reference not set to an instance of an object.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:DotNetNuke.Entities.Modules.ModuleController.CopyModule
StackTrace:

Message:
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DotNetNuke.Entities.Modules.ModuleController.CopyModule(ModuleInfo sourceModule, TabInfo destinationTab, String toPaneName, Boolean includeSettings)
   at DotNetNuke.Modules.Groups.Setup.btGo_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)
   --- End of inner exception stack trace ---

Source:
Server Name: myserver

Observations:
Fresh installation done with DNN 7.3.4 (installation) and added Social Component without issues. And we have compared the database table “ModulePermission” and related other tables and all seems to be similar with the troublesome version.

Any helpful guidance/tips would be highly appreciated !

 
New Post
4/16/2015 7:38 PM
 

I had a look at the code and it looks like this:

//Setup Child Page - Main View/Activity

TabInfo tab = CreatePage(PortalSettings.ActiveTab, PortalId, TabId, "Group Activity", false);

//Add Module to Child Page

int groupViewModuleId = AddModule(tab, PortalId, "Social Groups", "ContentPane");

int journalModuleId = AddModule(tab, PortalId, "Journal", "ContentPane");

int consoleId = AddModule(tab, PortalId, "Console", "RightPane");

ModuleInfo groupConsoleModule = ModuleController.Instance.GetModule(consoleId, tab.TabID, false);

TabInfo memberTab = CreatePage(PortalSettings.ActiveTab, PortalId, tab.TabID, "Members", true);

ModuleController.Instance.CopyModule(groupConsoleModule, memberTab, "RightPane", true);

 

As we can see a few things happen before the failed CopyModule - however the first thing that stands out to me is that the Console module is added to "RightPane" - this seems wrong to me as the only mandatory pane is "ContentPane" (RightPane is there by default as it's in our default skin and template)- so if your skin did not have a RightPane module that would fail, then the consoleid would be 0 and that could cause groupConsoleModule to be null and the CopyModule to fail. I would check your skin first, and if it doesn't have a "RightPane" then please add one as it seems it's a requirement for the use of that module (or at least automatic setup)

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Error thrown when 'Auto Configure' Social Groups 7.3.4Error thrown when 'Auto Configure' Social Groups 7.3.4


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