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...DNN Extension Install ProblemDNN Extension Install Problem
Previous
 
Next
New Post
1/28/2016 7:41 PM
 

I'm using D NN 07.04.02. I want to install a component of my module into the DNN Admin menu. There is a <page ... /> element available that looks like it will do what I want.

However, the Install Extension Wizard fails (critical error displayed on screen) when I try to install my package (see the stack trace below). If I remove the <page> element the install wizard completes successfully, but I can't find my extension in the admin section. I can add the module on to a page successfully so I think the code and manifest are ok. I would leave out the page element, but there seems to be no way to set the data contained in the page element via the Admin GUI for the module.

Not sure if this is a bug in 7.4.2 or not. I was going to start playing with different versions, but I thought I would ask first.

Thanks In advance,

Paul

Module definition from my manifest:

                <component type="Module">
                    <desktopModule>
                        <moduleName>Categories</moduleName>
                        <foldername>Admin/Categories</foldername>
                        <businessControllerClass>Modules.Admin.Categories.Components.BusinessController</businessControllerClass>
                        <supportedFeatures>
                            <supportedFeature>IUpgradeable</supportedFeature>
                        </supportedFeatures>
                        <page type="Admin" common="false">
                            <name>Category Settings</name>
                            <icon>~/Icons/Sigma/Lists_16X16_Standard.png</icon>
                            <largeIcon>~/Icons/Sigma/Lists_32X32_Standard.png</largeIcon>
                            <description>Configure Sitewide Category Settings</description>
                        </page>
                        <moduleDefinitions>
                            <moduleDefinition>
                                <friendlyName>Category Settings</friendlyName>
                                <moduleControls>
                                    <moduleControl>
                                        <controlKey />
                                        <controlSrc>DesktopModules/Admin/Categories/CategorySettings.ascx</controlSrc>
                                        <controlTitle>Category Settings</controlTitle>
                                        <controlType>Admin</controlType>
                                        <iconFile></iconFile>
                                        <helpUrl></helpUrl>
                                        <viewOrder>0</viewOrder>
                                        <supportsPartialRendering>False</supportsPartialRendering>
                                        <supportsPopUps>True</supportsPopUps>
                                    </moduleControl>
                                </moduleControls>
                            </moduleDefinition>
                        </moduleDefinitions>
                    </desktopModule>
                    <eventMessage>
                        <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
                        <processorCommand>UpgradeModule</processorCommand>
                        <attributes>
                            <businessControllerClass>Modules.Admin.Categories.Components.BusinessController</businessControllerClass>
                            <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
                            <upgradeVersionsList>01.00.00</upgradeVersionsList>
                        </attributes>
                    </eventMessage>
                </component>

Stack Trace from Log:
2016-01-28 18:46:57,648 [myMachine][Thread:52][DEBUG] DotNetNuke.Services.Installer.Log.Logger - StartJob:  Reading Installation Manifest file
2016-01-28 18:46:57,662 [myMachine][Thread:52][DEBUG] DotNetNuke.Services.Installer.Log.Logger - Info:  Reading Package Manifest - Module - Categories
2016-01-28 18:46:57,662 [myMachine][Thread:52][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Package Manifest - Module - Categories
2016-01-28 18:46:57,679 [myMachine][Thread:52][DEBUG] DotNetNuke.Services.Installer.Log.Logger - Info:  Reading Component Manifest - Module
2016-01-28 18:46:57,680 [myMachine][Thread:52][INFO] DotNetNuke.Services.Installer.Log.Logger - Reading Component Manifest - Module
2016-01-28 18:46:57,712 [myMachine][Thread:52][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=36&error=%27Element%27+is+an+invalid+XmlNodeType.
System.Xml.XmlException: 'Element' is an invalid XmlNodeType.
   at System.Xml.XmlReader.FinishReadElementContentAsXxx()
   at System.Xml.XmlReader.ReadElementContentAsString()
   at DotNetNuke.Entities.Modules.DesktopModuleInfo.ReadXml(XmlReader reader) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Entities\Modules\DesktopModuleInfo.cs:line 422
   at DotNetNuke.Common.Utilities.CBO.DeserializeObject[TObject](XmlReader reader) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Common\Utilities\CBO.cs:line 609
   at DotNetNuke.Services.Installer.Installers.ModuleInstaller.ReadManifest(XPathNavigator manifestNav) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installers\ModuleInstaller.cs:line 222
   at DotNetNuke.Services.Installer.Installers.InstallerFactory.GetInstaller(XPathNavigator manifestNav, PackageInfo package) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installers\InstallerFactory.cs:line 176
   at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadComponents(XPathNavigator manifestNav) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installers\PackageInstaller.cs:line 214
   at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installers\PackageInstaller.cs:line 635
   at DotNetNuke.Services.Installer.Installers.PackageInstaller..ctor(String packageManifest, InstallerInfo info) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installers\PackageInstaller.cs:line 118
   at DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installer.cs:line 283
   at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp) in c:\TeamCity\buildAgent\work\DNN_Platform_742_Public\Packaging\DNN.Platform\DNN Platform\Library\Services\Installer\Installer.cs:line 497
   at DotNetNuke.Modules.Admin.Extensions.Install.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e)
   at System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e)
   at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

 
New Post
1/29/2016 5:46 AM
 
AFAIK, page element has been added in DNN 8 and is not available for previous DNN features.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/31/2016 12:52 PM
 

Thanks a lot. I upgrade to 8.0.0 and it worked fine.

 
New Post
1/31/2016 5:24 PM
 
I am glad you were able to solve your issue, have fun using DNN :))

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/5/2016 5:52 AM
 

It could be the manifest xml file you create has missing some tags.
Just wonder if you use one of the manifest i provided on m site with addition you add extra missing elements that I dont have. For example: I dont include the businesscontroller element value as I dont need this.
Please check the manifest xml in this link.


Regards, Andy

bytutorial.com - community website to share programming and web technologies tips.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...DNN Extension Install ProblemDNN Extension Install Problem


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