Copied to clipboard

Flag this post as spam?

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


  • krzakivan 27 posts 93 karma points
    Dec 19, 2018 @ 18:06
    krzakivan
    0

    Current has not been initialized on Merchello.Core

    Hello, Yesterday guys from hosting migrated customers website to a new Windows server, from then we are getting this error : enter image description here And Im going absolutely crazy , cant wrap my head around it and how to fix it, of course customer is mad as there are christmass holidays and his shop is not working .

    Could somebody help ? @Rusty hope you will have some ideas for to fix it and save me

    attaching also logs

        2018-12-19 18:43:25,715 [P11168/D2/T1] INFO  Merchello.Web.UmbracoApplicationEventHandler - Attempting to initialize Merchello
     2018-12-19 18:43:25,730 [P11168/D2/T1] INFO  Merchello.Web.WebBootManager - Verifying Merchello Database is present.
     2018-12-19 18:43:26,855 [P11168/D2/T1] INFO  Merchello.Core.CoreBootManager - Initializing Merchello GatewayResolver
     2018-12-19 18:43:26,855 [P11168/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Merchello.Core.Gateways.GatewayProviderBase
     2018-12-19 18:43:26,855 [P11168/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Merchello.Core.Gateways.GatewayProviderBase, found 0 (took 9ms)
     2018-12-19 18:43:26,918 [P11168/D2/T1] ERROR Merchello.Web.UmbracoApplicationEventHandler - Initialization of Merchello failed
    System.Security.Cryptography.CryptographicException: Error occurred during a cryptographic operation.
       at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors(Func`2 func, Byte[] input)
       at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
       at Umbraco.Core.StringExtensions.DecryptWithMachineKey(String value)
       at Merchello.Core.Persistence.Factories.GatewayProviderSettingsFactory.BuildEntity(GatewayProviderSettingsDto dto)
       at Merchello.Core.Persistence.Repositories.GatewayProviderRepository.<PerformGetAll>d__5.MoveNext()
       at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
       at Merchello.Core.Persistence.Repositories.MerchelloRepositoryBase`1.GetAll(Guid[] keys)
       at Merchello.Core.Services.GatewayProviderService.GetAllGatewayProviders()
       at Merchello.Core.Gateways.GatewayProviderResolver.BuildActivatedGatewayProviderCache()
       at Merchello.Core.CoreBootManager.InitializeGatewayResolver(IServiceContext serviceContext, CacheHelper cache)
       at Merchello.Core.CoreBootManager.Initialize()
       at Merchello.Web.WebBootManager.Initialize()
       at Merchello.Core.MerchelloBootstrapper.Init(BootManagerBase bootManager)
       at Merchello.Web.UmbracoApplicationEventHandler.ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
     2018-12-19 18:43:26,965 [P11168/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
    

    Any ideas ?

  • Jason Prothero 422 posts 1243 karma points c-trib
    Dec 19, 2018 @ 18:08
    Jason Prothero
    0

    Have you rebuilt all the Examine indexes?

  • krzakivan 27 posts 93 karma points
    Dec 19, 2018 @ 18:43
    krzakivan
    0

    You mean via UMBRACO Examine management ? If you mean that , yes I did rebuilt indexer in it but only via umbraco system. Also I did try to delete TEMP of APP_Data and it did not helped.

    Im new to this backend stuff to im still learning

  • Dave Clinton 31 posts 106 karma points
    Dec 20, 2018 @ 14:35
    Dave Clinton
    0

    Have you tried the steps from this post? I think I've had this issue before but can't recall how exactly we got rid of it.

    https://our.umbraco.com/packages/collaboration/merchello/merchello/81904-error-occurred-during-a-cryptographic-operation

Please Sign in or register to post replies

Write your reply to:

Draft