Im getting an exeption when trying to add or alter language in Umbraco (7.2.1) with a uCommerce 6.5.2.14331
Im also getting an error when trying to request payments.
The error im getting in the backend is:
Server Error in '/' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.RuntimeModule.GetTypes() +9
System.Reflection.Assembly.GetTypes() +143
System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog() +241
System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator() +9
System.Linq.<SelectManyIterator>d__14`2.MoveNext() +323
System.Linq.Buffer`1..ctor(IEnumerable`1 source) +488
System.Linq.Enumerable.ToArray(IEnumerable`1 source) +103
System.ComponentModel.Composition.Hosting.<>c__DisplayClass5.<Clear>b__3() +134
System.Lazy`1.CreateValue() +14337348
System.Lazy`1.LazyInitValue() +136
System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.RaiseChangedEvent(Lazy`1 addedDefinitions, Lazy`1 removedDefinitions) +93
System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.Clear() +612
Raven.Database.Config.InMemoryRavenConfiguration.FilterActiveBundles() +351
Raven.Database.Config.InMemoryRavenConfiguration.PostInit() +16
Raven.Database.Config.InMemoryRavenConfiguration.Initialize() +1906
Raven.Database.Config.RavenConfiguration.LoadConfigurationAndInitialize(IEnumerable`1 values) +209
Raven.Client.Embedded.EmbeddableDocumentStore.set_DataDirectory(String value) +48
UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore() +679
UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore() +115
UCommerce.Pipelines.Language.CreateIndexTask.Execute(Language subject) +55
UCommerce.Pipelines.Pipeline`1.Execute(T subject) +275
[PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Language.LanguagePipeline'. See inner exception for details.]
UCommerce.Pipelines.Pipeline`1.Execute(T subject) +513
umbraco.cms.businesslogic.language.SaveEventHandler.Invoke(Language sender, SaveEventArgs e) +0
umbraco.settings.editLanguage.save_click(Object sender, EventArgs e) +76
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +153
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
Frontend error:
Cannot find template for e-mail type 'OrderConfirmation' and culture 'en-GB'. Make sure that a template is configured for e-mail type OrderConfirmation on profile MyHome.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:System.Configuration.ConfigurationErrorsException: Cannot find template for e-mail type 'OrderConfirmation' and culture 'en-GB'. Make sure that a template is configured for e-mail type OrderConfirmation on profile MyHome.
Source Error:
Line 36: TransactionLibrary.CreatePayment(newPaymentMethodId, requestPayment: false);
Line 37: TransactionLibrary.ExecuteBasketPipeline();
Line 38: TransactionLibrary.RequestPayments();
Line 39: // Redirect only executed when Service set to Default Payment Method Service
Line 40: HttpContext.Current.Response.Redirect("/webshop/bestillingsoversigt/?orderGuid=" + basket.OrderGuid);
LanguagePipeline exception
Hi
Im getting an exeption when trying to add or alter language in Umbraco (7.2.1) with a uCommerce 6.5.2.14331
Im also getting an error when trying to request payments.
The error im getting in the backend is:
Server Error in '/' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
Frontend error:
Cannot find template for e-mail type 'OrderConfirmation' and culture 'en-GB'. Make sure that a template is configured for e-mail type OrderConfirmation on profile MyHome.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.ConfigurationErrorsException: Cannot find template for e-mail type 'OrderConfirmation' and culture 'en-GB'. Make sure that a template is configured for e-mail type OrderConfirmation on profile MyHome.
Source Error:
Line 36: TransactionLibrary.CreatePayment(newPaymentMethodId, requestPayment: false); Line 37: TransactionLibrary.ExecuteBasketPipeline(); Line 38: TransactionLibrary.RequestPayments(); Line 39: // Redirect only executed when Service set to Default Payment Method Service Line 40: HttpContext.Current.Response.Redirect("/webshop/bestillingsoversigt/?orderGuid=" + basket.OrderGuid);
Source File: c:\_HOSTROOT\blabla\web\Views\ShopCheckoutStep3.cshtml Line: 38
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
Hey Kim
Do you use RavenDB in your solution? If not you can workaround by disabling the Language.CreateIndex task in the SaveLanguage pipeline.
It looks like RavenDB is trying to find an assembly that doesn't exist.
It might be that a type was saved that no longer exists.
I would like to get to the bottom of this, could you try and attach a debugger and look at the exception.LoaderExceptions message?
Kind regards
Thomas Arvidsen
is working on a reply...