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...DDRMenu and NodeManipulatorDDRMenu and NodeManipulator
Previous
 
Next
New Post
10/27/2011 9:33 AM
 
Hi,

I am using the DDRMenu with a NodeManipulator.
I add the code in my assembly like this :
namespace TabPropertyExtension
{
    public class DDRMenuNodeManipulator : INodeManipulator
    {
        public List<MenuNode> ManipulateNodes(List<MenuNode> nodes, PortalSettings portalSettings)
        {
            return nodes; // do nothing
        }
    }
}
I put my assembly in the 'bin' folder of the DotNetNuke web site. I add the DDRMenu module in my page and set the NodeManipulator property to : XXXX.Modules.TabPropertyExtension.DDRMenuNodeManipulator

But when I test, the DDRMenu throw an error :
ModuleId: 533
ModuleDefId: 120
FriendlyName: DDR Menu
ModuleControlSource: DesktopModules/DDRMenu/MenuView.ascx
AssemblyVersion: 6.0.1
PortalID: 2
PortalName: XXXXXX
UserID: 2
UserName: admin
ActiveTabID: 127
ActiveTabName: Accueil
RawURL: /Accueil.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://localhost/Accueil.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 551a9cf0-8de9-4b22-a094-64e2499d218f
InnerException: Could not load type 'XXXX.Modules.TabPropertyExtension.DDRMenuNodeManipulator'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BuildManager.GetType
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'XXXXX.Modules.TabPropertyExtension.DDRMenuNodeManipulator'. ---> System.Web.HttpException: Could not load type 'XXXXX.Modules.TabPropertyExtension.DDRMenuNodeManipulator'. at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throw , Boolean ignoreCase) at DotNetNuke.Web.DDRMenu.MenuBase.ApplyNodeManipulator() at DotNetNuke.Web.DDRMenu.MenuBase.PreRender() at DotNetNuke.Web.DDRMenu.MenuView.OnPreRender(EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: XXXXXX

Any idea ?

Thank you !
Jean-Marc
 
New Post
11/21/2011 1:03 PM
 
I haven't used this myself, but did you compile your assembly in .NET 3.5 or 4.0?   I am pretty sure that the main DNN source code is all in .NET 3.5 and just being upsampled to 4.0 when you run it that way in IIS.   Therefore, it might not be able to run a 4.0 assembly.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...DDRMenu and NodeManipulatorDDRMenu and NodeManipulator


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