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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN9: Sequence contains no elementsDNN9: Sequence contains no elements
Previous
 
Next
New Post
12/21/2016 2:49 PM
 

What does this error mean:

 

2016-12-21 16:27:30,716 [www4][Thread:11][INFO] DotNetNuke.Services.Installer.Log.Logger - Manifest file finished successfully.

2016-12-21 16:27:30,872 [www4][Thread:11][FATAL] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - System.InvalidOperationException: Sequence contains no elements

   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)

   at Dnn.PersonaBar.Extensions.Components.Dto.PackageInfoDto..ctor(Int32 portalId, PackageInfo package)

   at Dnn.PersonaBar.Extensions.Components.InstallController.ParsePackage(PortalSettings portalSettings, UserInfo user, String filePath, Stream stream)

   at Dnn.PersonaBar.Extensions.Services.ExtensionsController.<>c.<ParsePackage>b__18_0(PortalSettings portalSettings, UserInfo userInfo, String filePath, Stream stream)

   at Dnn.PersonaBar.Extensions.Services.ExtensionsController.<>c__DisplayClass36_1.<UploadFileAction>b__1(Object <state>)

   at System.Web.LegacyAspNetSynchronizationContext.CallCallbackPossiblyUnderLock(SendOrPostCallback callback, Object state)

 

Comes from this https://github.com/juvander/DotNetNuke-Forum/blob/05.00.07_DNN8/branches/DNN_5/DNN_Forum.dnn

Works just fine in DNN8, but fails with DNN9, any hint what is wrong with the manifest?

 
New Post
12/22/2016 2:06 AM
 
Ok, today continuing debugging this and looks like I cannot install any modules anymore, including for example authentication providers coming with DNN. It also fails with this same error... So something went wrong during the upgrade of this site.

Debugging continues...
 
New Post
12/23/2016 2:28 AM
 

Still no luck.

When viewing sites there is also this error in the log:

2016-12-23 07:27:14,251 [RD00155D573915][Thread:7][ERROR] Dnn.PersonaBar.Sites.Services.SitesController - System.NullReferenceException: Object reference not set to an instance of an object.

   at Dnn.PersonaBar.Sites.Components.SitesController.FormatPortalAliases(Int32 portalId)

   at Dnn.PersonaBar.Sites.Services.SitesController.GetPortalDto(PortalInfo portal)

   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

   at Dnn.PersonaBar.Sites.Services.SitesController.GetPortals(Int32 portalGroupId, String filter, Int32 pageIndex, Int32 pageSize)


 
New Post
12/23/2016 7:31 AM
 
I'm giving up on this and reverting back to DNN8... Have to wait for couple more releases where this hopefully gets fixed!
 
New Post
12/23/2016 7:34 AM
 
This personabar stuff is really poor design as it is basically impossible to debug what is happening inside it...
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN9: Sequence contains no elementsDNN9: Sequence contains no elements


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