An error ocured during rendering ImporterHeaderModule module.
Try to correct the module settings. This is usually caused by invalid settings there.
Resolution of the dependency failed, type = "Skoda.K2NG.Business.Page.IPageFacade", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - Collection was modified; enumeration operation may not execute. ----------------------------------------------- At the time of the exception, the container was: Resolving Skoda.K2NG.Business.Page.PageFacade,(none) (mapped from Skoda.K2NG.Business.Page.IPageFacade, (none)) Resolving value for property PageFacade.PublishOperation Resolving Skoda.K2NG.Business.Page.Operations.PublishOperation,(none) Resolving value for property PublishOperation.pageRepository Resolving Skoda.K2NG.Repositories.Interfaces.IPageRepository,(none)
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
   at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
   at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
   at Skoda.K2NG.SharePoint.Data.SharePointContextBase.IsPagePublished(String siteId, Guid pageId) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.SharePoint\Data\SharePointContextBase.cs:line 79
   at Skoda.K2NG.Plugins.SitePrototypes.Importer.Modules.ImporterHeader.ImporterMenuGenerator.IsPublished(IStructureLeaf leaf)
   at Skoda.K2NG.Plugins.SitePrototypes.Importer.Modules.ImporterHeader.ImporterMenuGenerator.b__14_1(IStructureLeaf l)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Skoda.K2NG.Plugins.SitePrototypes.Importer.Modules.ImporterHeader.ImporterMenuGenerator.GenerateCommonNode(IStructureNode node)
   at Skoda.K2NG.Plugins.SitePrototypes.Importer.Modules.ImporterHeader.ImporterMenuGenerator.d__9.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Skoda.K2NG.Plugins.SitePrototypes.Importer.Modules.ImporterHeader.ImporterMenuGenerator.GenerateMainMenu()
   at Skoda.K2NG.Plugins.SkodaSpecific.Modules.HeaderMenuModule.Templates.HeaderTemplate.Execute() in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.Plugins.SkodaSpecific\Modules\Modules\HeaderMenuModule\Templates\HeaderTemplate.cshtml:line 16
   at RazorGenerator.Templating.RazorTemplateBase.TransformText()
   at Skoda.K2NG.Plugins.SkodaSpecific.Modules.TemplatedModule`2.Render(Boolean isEdit) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.Plugins.SkodaSpecific\Modules\TemplatedModule.cs:line 29
   at Skoda.K2NG.Platform.ContentProvision.ModulePrototype.Render() in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.Platform\ContentProvision\ModulePrototype.cs:line 125
   at Skoda.K2NG.Platform.Ex.ContentProvision.Templates.ZoneWithContextualVisibility.Execute() in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.Platform.EntityModel\ContentProvision\Templates\ZoneWithContextualVisibility.cshtml:line 41
Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Microsoft.Practices.Unity.NamedTypesRegistry.RemoveMatchingKeys(Type t, String name)
   at Microsoft.Practices.Unity.NamedTypesRegistry.RegisterType(Type t, String name)
   at Microsoft.Practices.Unity.UnityContainer.ExtensionContextImpl.RegisterNamedType(Type t, String name)
   at Microsoft.Practices.Unity.UnityDefaultBehaviorExtension.OnRegisterInstance(Object sender, RegisterInstanceEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Microsoft.Practices.Unity.UnityContainer.RegisterInstance(Type t, String name, Object instance, LifetimeManager lifetime)
   at Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance[TInterface](IUnityContainer container, TInterface instance, LifetimeManager lifetimeManager)
   at Microsoft.Practices.Unity.UnityServiceLocator..ctor(IUnityContainer container)
   at Skoda.K2NG.ContentManagement.UnityConfig.<>c__DisplayClass3_0.b__0() in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.ContentManagement\App_Start\UnityConfig.cs:line 113
   at Microsoft.Practices.ServiceLocation.ServiceLocator.get_Current() in c:\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocator.cs:line 24
   at Skoda.K2NG.SharePoint.Data.Repository.LibraryRepositoryBase`3..ctor(ISiteContext siteContext, EntityContext entityContext) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.SharePoint\Data\Repository\LibraryRepositoryBase.cs:line 36
   at Skoda.K2NG.SharePoint.Data.SiteContext.<>c__DisplayClass1_0.<.ctor>b__0() in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.SharePoint\Data\SiteContext.cs:line 23
   at Skoda.K2NG.Platform.Data.SiteContextBase.CreateRepository[TRepository,TItem](Func`1 repositoryCreationFunc) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.Platform\Data\SiteContextBase.cs:line 33
   at Skoda.K2NG.SharePoint.Data.SiteContext..ctor(EntityContext context, String siteId) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.SharePoint\Data\SiteContext.cs:line 23
   at Skoda.K2NG.SharePoint.Data.SiteContextFactory.Skoda.K2NG.Platform.Data.ISiteContextFactory.CreateSiteContext(String siteId) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.SharePoint\Data\SiteContextFactory.cs:line 21
   at Skoda.K2NG.ContentManagement.UnityConfig.CreateSiteContext(ISiteContextFactory siteContextFactory, String siteId) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.ContentManagement\App_Start\UnityConfig.cs:line 561
   at Skoda.K2NG.ContentManagement.UnityConfig.<>c__DisplayClass3_0.b__8(IUnityContainer c) in D:\Agents\01-V2\_work\3\s\Skoda.K2NG.ContentManagement\App_Start\UnityConfig.cs:line 201
   at Microsoft.Practices.Unity.InjectionFactory.<>c__DisplayClass2.<.ctor>b__0(IUnityContainer c, Type t, String s)
   at Microsoft.Practices.ObjectBuilder2.FactoryDelegateBuildPlanPolicy.BuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey)
   at Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context)
   at lambda_method(Closure , IBuilderContext )
   at Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.b__0(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey)
   at Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context)
   at lambda_method(Closure , IBuilderContext )
   at Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.b__0(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)

See on avalehe täiendav leht. Tagasi pöördumiseks klikkige nupul.

Tagasi avalehele