Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Kim Hansen 63 posts 144 karma points
    Mar 20, 2015 @ 11:21
    Kim Hansen
    0

    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:

    [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);


    Source File: c:\_HOSTROOT\blabla\web\Views\ShopCheckoutStep3.cshtml    Line: 38 

    Stack Trace: 

    [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.]
       UCommerce.Transactions.EmailService.Send(ILocalizationContext localizationContext, EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) +1665
       UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) +552
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +275
    
    [PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details.]
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +513
       UCommerce.Transactions.Payments.DefaultPaymentMethodService.RequestPayment(PaymentRequest request) +290
       UCommerce.Transactions.TransactionLibraryInternal.RequestPayment(Int32 paymentId) +323
       Castle.DynamicProxy.AbstractInvocation.Proceed() +116
       UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) +633
       Castle.DynamicProxy.AbstractInvocation.Proceed() +604
       Castle.Proxies.TransactionLibraryInternalProxy.RequestPayment(Int32 paymentId) +193
       UCommerce.Transactions.TransactionLibraryInternal.RequestPayments() +230
       Castle.DynamicProxy.AbstractInvocation.Proceed() +116
       UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) +633
       Castle.DynamicProxy.AbstractInvocation.Proceed() +604
       ASP._Page_Views_ShopCheckoutStep3_cshtml.Execute() in c:\_HOSTROOT\blabla\web\Views\ShopCheckoutStep3.cshtml:38
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +181
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
       System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +33
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
       System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +240
       System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
    

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237

     

  • Thomas 30 posts 163 karma points
    Mar 24, 2015 @ 15:24
    Thomas
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft