Copied to clipboard

Flag this post as spam?

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


  • YESU RAJA CHINTA 22 posts 89 karma points
    Jun 14, 2023 @ 20:39
    YESU RAJA CHINTA
    0

    System.InvalidOperationException: Unable to resolve type: Umbraco.Web.IUmbracoContextAccessor, service name:

    Hi Team, After updating my solution to v7-v8, I'm experiencing the following issue. If anyone else has experienced this, please respond. Thanks.

    System.InvalidOperationException: Unable to resolve type: Umbraco.Web.IUmbracoContextAccessor, service name:

    Error in logged: {"@t":"2023-06-14T20:36:01.5526452Z","@mt":"{FailMessage} ({Duration}ms) [Timing {TimingId}]","@l":"Error","FailMessage":"Failed.","Duration":5822,"TimingId":"90b63cd","SourceContext":"Umbraco.Core.Runtime.CoreRuntime","ProcessId":5040,"ProcessName":"w3wp","ThreadId":18,"AppDomainId":7,"AppDomainAppId":"LMW3SVC3ROOT","MachineName":"INDPRFTCTRL0152","Log4NetLevel":"ERROR","HttpRequestNumber":1,"HttpRequestId":"ad43f07e-3461-482e-8511-b7956a55514f"} {"@t":"2023-06-14T20:36:11.0495164Z","@mt":"{FailMessage} ({Duration}ms) [Timing {TimingId}]","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: Boot failed. ---> System.Reflection.ReflectionTypeLoadException: Could not load all types from \"RB.StarterKit.Api.Core, Version=5.0.0.2015, Culture=neutral, PublicKeyToken=null\" due to LoaderExceptions, skipping:\r\n. System.IO.FileLoadException: Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=5.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n\r\n at Umbraco.Core.Composing.TypeFinder.GetTypesWithFormattedException(Assembly a) in D:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 572\r\n at Umbraco.Core.Composing.TypeFinder.GetClassesWithBaseType(Type baseType, IEnumerable1 assemblies, Boolean onlyConcreteClasses, Func2 additionalFilter) in D:\a\1\s\src\Umbraco.Core\Composing\TypeFinder.cs:line 504\r\n at Umbraco.Core.Composing.TypeLoader.<>c_DisplayClass5001.<GetTypes>b__1() in D:\\a\\1\\s\\src\\Umbraco.Core\\Composing\\TypeLoader.cs:line 542\r\n at Umbraco.Core.Composing.TypeLoader.GetTypesInternalLocked(Type baseType, Type attributeType, Func1 finder, String action, Boolean cache) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 752\r\n at Umbraco.Core.Composing.TypeLoader.GetTypesInternal(Type baseType, Type attributeType, Func1 finder, String action, Boolean cache) in D:\\a\\1\\s\\src\\Umbraco.Core\\Composing\\TypeLoader.cs:line 656\r\n at Umbraco.Core.Composing.TypeLoader.GetTypes[T](Boolean cache, IEnumerable1 specificAssemblies) in D:\a\1\s\src\Umbraco.Core\Composing\TypeLoader.cs:line 540\r\n at Umbraco.Core.Runtime.CoreRuntime.ResolveComposerTypes(TypeLoader typeLoader) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 275\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 149\r\n --- End of inner exception stack trace ---","FailMessage":"Boot failed.","Duration":15860,"TimingId":"e74754f","SourceContext":"Umbraco.Core.Runtime.CoreRuntime","ProcessId":5040,"ProcessName":"w3wp","ThreadId":18,"AppDomainId":7,"AppDomainAppId":"LMW3SVC3ROOT","MachineName":"INDPRFTCTRL0152","Log4NetLevel":"ERROR","HttpRequestNumber":1,"HttpRequestId":"ad43f07e-3461-482e-8511-b7956a55514f"} {"@t":"2023-06-14T20:36:21.1477463Z","@mt":"Stopping ({SignalSource})","SignalSource":"environment","SourceContext":"Umbraco.Core.MainDom","ProcessId":5040,"ProcessName":"w3wp","ThreadId":10,"AppDomainId":7,"AppDomainAppId":"LMW3SVC3ROOT","MachineName":"INDPRFTCTRL0152","Log4NetLevel":"INFO "} {"@t":"2023-06-14T20:36:21.1477463Z","@mt":"Released ({SignalSource})","SignalSource":"environment","SourceContext":"Umbraco.Core.MainDom","ProcessId":5040,"ProcessName":"w3wp","ThreadId":10,"AppDomainId":7,"AppDomainAppId":"LMW3SVC3ROOT","MachineName":"INDPRFTCTRL0152","Log4NetLevel":"INFO "} {"@t":"2023-06-14T20:36:21.1617383Z","@mt":"Application shutdown. Details: {ShutdownReason}\r\n\r\nshutDownMessage={ShutdownMessage}\r\n\r\nshutDownStack={ShutdownStack}","ShutdownReason":"InitializationError","ShutdownMessage":"Initialization Error\r\nHostingEnvironment initiated shutdown\r\nHostingEnvironment caused shutdown","ShutdownStack":" at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)\r\n at System.Environment.get_StackTrace()\r\n at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()\r\n at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand()\r\n at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace)\r\n at System.Web.HttpRuntime.AppDomainShutdownTimerCallback(Object state)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.TimerQueueTimer.CallCallback()\r\n at System.Threading.TimerQueueTimer.Fire()\r\n at System.Threading.TimerQueue.FireNextTimers()","SourceContext":"Umbraco.Web.UmbracoApplicationBase","ProcessId":5040,"ProcessName":"w3wp","ThreadId":10,"AppDomainId":7,"AppDomainAppId":"LMW3SVC3ROOT","MachineName":"INDPRFTCTRL0152","Log4NetLevel":"INFO "}

Please Sign in or register to post replies

Write your reply to:

Draft