Using the MIPs 23.2.1 (not with older MIPs) I’ll get while trying fullfil a domain login this error:
System.IO.FileLoadException: Die Datei oder Assembly “System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
Dateiname: “System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”
Server stack trace:
bei VideoOS.IdentityServer.Common.Handlers.TokenCache.d__21.MoveNext()
-– Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei VideoOS.IdentityServer.Common.ServiceModel.BearerAuthorizationHeaderInspector.FormatToken()
bei VideoOS.IdentityServer.Common.ServiceModel.BearerAuthorizationHeaderInspector.BeforeSendRequest(Message& request, IClientChannel channel)
bei System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime operation, Boolean oneway, ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
bei VideoOS.IdentityServer.Common.Handlers.TokenCache.d__21.MoveNext()
-– Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei VideoOS.IdentityServer.Common.ServiceModel.BearerAuthorizationHeaderInspector.FormatToken()
bei VideoOS.IdentityServer.Common.ServiceModel.BearerAuthorizationHeaderInspector.BeforeSendRequest(Message& request, IClientChannel channel)
bei System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime operation, Boolean oneway, ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [1]:
bei VideoOS.IdentityServer.Common.Handlers.TokenCache.d__21.MoveNext()
-– Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei VideoOS.IdentityServer.Common.ServiceModel.BearerAuthorizationHeaderInspector.FormatToken()
bei VideoOS.IdentityServer.Common.ServiceModel.BearerAuthorizationHeaderInspector.BeforeSendRequest(Message& request, IClientChannel channel)
bei System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime operation, Boolean oneway, ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [2]:
bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bei VideoOS.Common.Proxy.Server.WCF.IServerCommandService.Logout(Guid instanceId, String currentToken)
bei VideoOS.Platform.SDK.Config.Shared.LoginServerSvc.LogoutService(Guid instanceGuid, String token)
=== Zustandsinformationen vor Bindung ===
LOG: DisplayName = System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/PsmDriver/MilestoneDriver/
LOG: Ursprünglicher PrivatePath = NULL
Aufruf von Assembly : VideoOS.IdentityServer.Common, Version=23.2.0.0, Culture=neutral, PublicKeyToken=bc60fba4a7969f89.
===
LOG: Diese Bindung startet im default-Load-Kontext.
LOG: Es wurde keine Anwendungskonfigurationsdatei gefunden.
LOG: Die Hostkonfigurationsdatei wird verwendet:
LOG: Die Computerkonfigurationsdatei von [C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config](file:C:/Windows/Microsoft.NET/Framework64/v4.0.30319/config/machine.config) wird verwendet.
LOG: Verweis nach der Richtlinie: System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Download von neuem URL file:///C:/PsmDriver/MilestoneDriver/System.Net.Http.Formatting.DLL.
WRN: Der Vergleich des Assemblynamens führte zum Konflikt: Buildnummer.
ERR: Das Setup der Assembly konnte nicht abgeschlossen werden (hr = 0x80131040). Die Suche wurde beendet.
I see, that 23.2.1 uses Microsoft.AspNet.WebApi.Client and Microsoft.AspNet.WebApi.Core in the versions 5.2.7, which I’d updated to 5.2.9. Otherwise I’ll get while compiling:
