Copied to clipboard

Flag this post as spam?

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


  • subhakar 18 posts 38 karma points
    Dec 27, 2021 @ 09:26
    subhakar
    0

    System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

    Hi, i have develop the website in umbraco 8.17.1 While developing the website it was working fine .after adding the source File TFS It shows the server application Error

    Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    I tried the resolve the issue .but could't LOG: DisplayName = System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified)

    Calling assembly : Serilog.Sinks.Map, Version=1.0.2.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10.

    Stack Trace:

    [FileLoadException: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] Umbraco.Core.Logging.Serilog.<>cDisplayClass3_0.0(LoggerSinkConfiguration asyncConfiguration) +0 Serilog.Configuration.LoggerSinkConfiguration.Wrap(LoggerSinkConfiguration loggerSinkConfiguration, Func2 wrapSink, Action1 configureWrappedSink, LogEventLevel restrictedToMinimumLevel, LoggingLevelSwitch levelSwitch) +164 Serilog.LoggerConfigurationAsyncExtensions.Async(LoggerSinkConfiguration loggerSinkConfiguration, Action1 configure, IAsyncLogEventSinkMonitor monitor, Int32 bufferSize, Boolean blockWhenFull) +91 Umbraco.Core.Logging.Serilog.LoggerConfigExtensions.File(LoggerSinkConfiguration configuration, ITextFormatter formatter, String path, LogEventLevel restrictedToMinimumLevel, LoggingLevelSwitch levelSwitch, Nullable1 fileSizeLimitBytes, Nullable1 flushToDiskInterval, RollingInterval rollingInterval, Boolean rollOnFileSizeLimit, Nullable1 retainedFileCountLimit, Encoding encoding) +190

    [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +168 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +105 Serilog.Settings.KeyValuePairs.KeyValuePairSettings.ApplyDirectives(List1 directives, IList1 configurationMethods, Object loggerConfigMethod, IReadOnlyDictionary2 declaredSwitches) +401 Serilog.Settings.KeyValuePairs.KeyValuePairSettings.Configure(LoggerConfiguration loggerConfiguration) +1814 Serilog.Configuration.LoggerSettingsConfiguration.Settings(ILoggerSettings settings) +20 Serilog.Configuration.LoggerSettingsConfiguration.KeyValuePairs(IEnumerable1 settings) +199 Serilog.Settings.AppSettings.AppSettingsSettings.Configure(LoggerConfiguration loggerConfiguration) +528 Serilog.Configuration.LoggerSettingsConfiguration.Settings(ILoggerSettings settings) +20 Serilog.AppSettingsLoggerConfigurationExtensions.AppSettings(LoggerSettingsConfiguration settingConfiguration, String settingPrefix, String filePath) +112 Umbraco.Core.Logging.Serilog.LoggerConfigExtensions.ReadFromConfigFile(LoggerConfiguration logConfig) +70 Umbraco.Core.Logging.Serilog.SerilogLogger.CreateWithDefaultConfiguration() +40 Umbraco.Web.UmbracoApplication.GetRuntime() +13 Umbraco.Web.UmbracoApplicationBase.HandleApplicationStart(Object sender, EventArgs evargs) +28 Umbraco.Web.UmbracoApplicationBase.Application_Start(Object sender, EventArgs evargs) +34

    [HttpException (0x80004005): Exception has been thrown by the target of an invocation.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +476 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +220 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303

    [HttpException (0x80004005): Exception has been thrown by the target of an invocation.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +659 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189

Please Sign in or register to post replies

Write your reply to:

Draft