Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
I'm getting an error when I try to either add a product to an existing catalog, or try to add a new catalog entry. These things were previously working as there ia a catalog I created with two products in it. The event viewer shows the exception as below:
Everything else seems to be working as I can process existing products.
Exception information:
Exception type: PipelineException
Exception message: Exception occoured while processing pipeline 'UCommerce.Pipelines.Catalog.ProductDefinitionFieldPipeline'. See inner exception for details.
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
at UCommerce.Web.UI.Settings.Definitions.CreateProductDefinitionField.CreateButton_Clicked(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Exception occoured while processing pipeline 'UCommerce.Pipelines.GenericPipeline`1[[UCommerce.EntitiesV2.Definitions.IDefinition, UCommerce, Version=5.1.1.14007, Culture=neutral, PublicKeyToken=null]]'. See inner exception for details.
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
at UCommerce.Pipelines.Catalog.SaveProductDefinitionFieldTask.Execute(ProductDefinitionField subject)
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.<>c__DisplayClass5.<Clear>b__3()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.RaiseChangedEvent(Lazy`1 addedDefinitions, Lazy`1 removedDefinitions)
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.Clear()
at Raven.Database.Config.InMemoryRavenConfiguration.FilterActiveBundles()
at Raven.Database.Config.InMemoryRavenConfiguration.PostInit()
at Raven.Database.Config.InMemoryRavenConfiguration.Initialize()
at Raven.Database.Config.RavenConfiguration.LoadConfigurationAndInitialize(IEnumerable`1 values)
at Raven.Database.Config.RavenConfiguration..ctor()
at Raven.Client.Embedded.EmbeddableDocumentStore.get_Configuration()
at Raven.Client.Embedded.EmbeddableDocumentStore.set_DataDirectory(String value)
at UCommerce.Search.RavenDB.RavenDbStoreProvider.CreateEmbeddableDocumentStoreHttpServer(String ravenDatabasePath)
at UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore()
at UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore()
at UCommerce.Search.RavenDB.RavenDbRepository.Save[T](T document)
at UCommerce.Search.RavenDB.RavenDbRepository.SaveMany[T](IEnumerable`1 documents)
at UCommerce.Search.Indexers.DefinitionIndexers.DefinitionIndexer.Index(IEnumerable`1 subject)
at UCommerce.Search.Indexers.DefinitionIndexers.DefinitionIndexer.Index(IDefinition subject)
at UCommerce.Pipelines.Search.SearchIndexerTask`1.<>c__DisplayClass1.<Execute>b__0(IIndexer`1 x)
at UCommerce.Extensions.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action)
at UCommerce.Pipelines.Search.SearchIndexerTask`1.Execute(T subject)
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
Looks like that the raven database might be corrupted. It's failing trying to persist to the raven database. What happens if you run the scratch indexer under settings / search ? If that also fails, try to delete the raven databases folder under app data.
Can't create any new products.
Hi,
This is happening on my local.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
I'm getting an error when I try to either add a product to an existing catalog, or try to add a new catalog entry. These things were previously working as there ia a catalog I created with two products in it. The event viewer shows the exception as below:
Everything else seems to be working as I can process existing products.
Exception information:
Exception type: PipelineException
Exception message: Exception occoured while processing pipeline 'UCommerce.Pipelines.Catalog.ProductDefinitionFieldPipeline'. See inner exception for details.
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
at UCommerce.Web.UI.Settings.Definitions.CreateProductDefinitionField.CreateButton_Clicked(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Exception occoured while processing pipeline 'UCommerce.Pipelines.GenericPipeline`1[[UCommerce.EntitiesV2.Definitions.IDefinition, UCommerce, Version=5.1.1.14007, Culture=neutral, PublicKeyToken=null]]'. See inner exception for details.
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
at UCommerce.Pipelines.Catalog.SaveProductDefinitionFieldTask.Execute(ProductDefinitionField subject)
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.<>c__DisplayClass5.<Clear>b__3()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.RaiseChangedEvent(Lazy`1 addedDefinitions, Lazy`1 removedDefinitions)
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.Clear()
at Raven.Database.Config.InMemoryRavenConfiguration.FilterActiveBundles()
at Raven.Database.Config.InMemoryRavenConfiguration.PostInit()
at Raven.Database.Config.InMemoryRavenConfiguration.Initialize()
at Raven.Database.Config.RavenConfiguration.LoadConfigurationAndInitialize(IEnumerable`1 values)
at Raven.Database.Config.RavenConfiguration..ctor()
at Raven.Client.Embedded.EmbeddableDocumentStore.get_Configuration()
at Raven.Client.Embedded.EmbeddableDocumentStore.set_DataDirectory(String value)
at UCommerce.Search.RavenDB.RavenDbStoreProvider.CreateEmbeddableDocumentStoreHttpServer(String ravenDatabasePath)
at UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore()
at UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore()
at UCommerce.Search.RavenDB.RavenDbRepository.Save[T](T document)
at UCommerce.Search.RavenDB.RavenDbRepository.SaveMany[T](IEnumerable`1 documents)
at UCommerce.Search.Indexers.DefinitionIndexers.DefinitionIndexer.Index(IEnumerable`1 subject)
at UCommerce.Search.Indexers.DefinitionIndexers.DefinitionIndexer.Index(IDefinition subject)
at UCommerce.Pipelines.Search.SearchIndexerTask`1.<>c__DisplayClass1.<Execute>b__0(IIndexer`1 x)
at UCommerce.Extensions.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action)
at UCommerce.Pipelines.Search.SearchIndexerTask`1.Execute(T subject)
at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
Request information:
Request URL: http://localhost:49380/umbraco/create.aspx?nodeId=ProductDefinition_22&nodeType=settings_catalog_productdefinition&nodeName=Other&rnd=20.1&rndo=20.9 ;
Request path: /umbraco/create.aspx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name:
Thread information:
Thread ID: 31
Thread account name:
Is impersonating: False
Stack trace: at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
at UCommerce.Web.UI.Settings.Definitions.CreateProductDefinitionField.CreateButton_Clicked(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Looks like that the raven database might be corrupted. It's failing trying to persist to the raven database. What happens if you run the scratch indexer under settings / search ? If that also fails, try to delete the raven databases folder under app data.
Does this solve the problem ?
Regards
Morten
Hi all,
i know this is an old post but i have tried the above suggestion by morgen but still have the issue?
Any ideas
thanks
is working on a reply...