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...Administration ...Administration ...Skin Extension Install- Critical ErrorSkin Extension Install- Critical Error
Previous
 
Next
New Post
1/17/2014 4:49 PM
 

I am trying to install the same skin on multiple sites from the Site-->Admin-->Extensions-->Install Extension Wizard. The skin installs fine on the first two sites, but on the 3rd site I get " A critical error has occurred. Sequence contains more than one matching element" when I try to install. If I go through the hassle of renaming the skin file in the manifest, I can get it to install.

I don't want to install the skin at the host level because of the way it does some special templating and I don't want to share that across sites. I had been able to do this previously, having installed the same skin on 3, 4, and 5 sites at the site admin level before I upgraded from DNN 7.0.5 to 7.2.

(I debated which forum to place this on, so if someone wants to move it to  a better locale, please do)

Here is the full error:

AssemblyVersion:7.2.0

PortalID:10

PortalName:STAGE 02: 10 STAGE 02 foo.bar.org

UserID:1

UserName:host

ActiveTabID:1951

ActiveTabName:Extensions

RawURL:/Admin/Extensions/tabid/1951/ctl/Install/rtab/1951/Default.aspx?popUp=true

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://foo.bar.org/Admin/Extensions/tabid/1951/ctl/Install/rtab/1951/Default.aspx?popUp=true

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:4386706a-2b96-4495-b3a3-372979474c19

InnerException:Sequence contains more than one matching element

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Linq.Enumerable.SingleOrDefault

StackTrace:

Message:

DotNetNuke.Services.Exceptions.PageLoadException: Sequence contains more than one matching element ---> System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at DotNetNuke.Services.Installer.Packages.PackageController.GetExtensionPackage(Int32 portalId, Func`2 predicate) at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav) at DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav) at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp) at DotNetNuke.Modules.Admin.Extensions.Install.wizInstall_NextButtonClick(Object sender, 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) --- End of inner exception stack trace ---

 

 
New Post
1/18/2014 1:05 PM
 
that usually indicates that the skin has already been installed i.e. there are 2 copies (usually one installed in the host portal i.e. portals/_default, and one attempting to install within a site portal.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/20/2014 8:27 PM
 
Why not install it on the host portal and not use where you dont want to use it then activate it under site settings for the specific portal?
 
New Post
1/21/2014 1:13 PM
 
Thanks for the replies so far. I can't (ok- operationally don't want to) install at the host level because this skin allows the site administrator to customize it though a module that modifies a skin config files (which is pretty awesome). If I install it at the host level one admin would end up redesigning some other persons site and not even know it. Imagine the irritated calls/emails then!

I checked the _default portal and there are no files from any of the skins there. It is definitely related to the number of installs on different sites: 2 sites ok, 3rd site = error. I would classify this as a bug, since installing the same skin at the site level could be needed for any number of customization reasons. My current options are to rename the skin package for each site install (not a fan), find a work around/alternate install method, or get this as a bug report and wait for a fix (how and how long will I have to wait).

Still open to ideas....
 
New Post
1/21/2014 6:56 PM
 
can you post the error message here for us?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Skin Extension Install- Critical ErrorSkin Extension Install- Critical Error


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