Konnte den Typ 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ITypeRegistrationsProvider @ nicht lad

Ich habe kürzlich versucht, die Authentifizierung mithilfe der asp.net-Identität mit dem 4.6.1-Framework zu implementieren. Nach der Installation aller erforderlichen Pakete erhalte ich beim Ausführen der Anwendung die folgende Fehlermeldung.

"Typ 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ITypeRegistrationsProvider' konnte nicht geladen werden"

Die gleiche Anwendung funktioniert einwandfrei, wenn alle identitätsbezogenen Pakete deinstalliert wurden.

Full Stack Trace ist wie folgt

[TypeLoadException: Typ 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ITypeRegistrationsProvider' aus Assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35' konnte nicht geladen werden.
System.Reflection.CustomAttribute._CreateCaObject (RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte ** ppBlob, Byte * pEndBlob, Int32 * pcNamedArgs) + 0
System.Reflection.CustomAttribute.CreateCaObject (RuntimeModule-Modul, IRuntimeMethodInfo ctor, IntPtr & blob, IntPtr blobEnd, Int32 & namedArgs) + 38
System.Reflection.CustomAttribute.GetCustomAttributes (RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivativeAttributes, Boolean isDecoratedTarget.parentSecurity
System.Reflection.RuntimeAssembly.GetCustomAttributes (Boolean-Erbe) +37 Owin.Loader.DefaultLoader.SearchForStartupAttribute (String friendlyName, IList1 errors, Boolean& conflict) +294<br>Owin.Loader.DefaultLoader.GetDefaultConfiguration(String friendlyName, IList 1 Fehler) + 105
Owin.Loader.DefaultLoader.LoadImplementation (String startupName, IList1 errorDetails) +161 Owin.Loader.DefaultLoader.Load(String startupName, IList 1 FehlerDetails) + 51
Microsoft.Owin.Host.SystemWeb.OwinBuilder.GetAppStartup () + 238
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint () +103 System.Threading.LazyInitializer.EnsureInitializedCore (T & target, Boolean & initialized, Object & syncLock, Func1 valueFactory) +115 System.Threading.LazyInitializer.EnsureInitialized(T& target, Boolean& initialized, Object& syncLock, Func 1 valueFactory) + 72
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init (HttpApplication-Kontext) + 104
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS (IntPtr appContext, HttpContext-Kontext, MethodInfo [] -Handler) + 534
System.Web.HttpApplication.InitSpecial (HttpApplicationState-Status, MethodInfo [] -Handler, IntPtr appContext, HttpContext-Kontext) + 172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance (IntPtr appContext, HttpContext-Kontext) + 352
System.Web.Hosting.PipelineRuntime.InitializeApplication (IntPtr appContext) + 296

[HttpException (0x80004005): Typ "Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.ITypeRegistrationsProvider" aus Assembly "Microsoft.Practices.EnterpriseLibrary.Common, Version = 6.0.0.0, Culture4 Neutral, PublicKeyToken = 31bf38 '.]
System.Web.HttpRuntime.FirstRequestInit (HTTP-Kontext) +9947380 System.Web.HttpRuntime.EnsureFirstRequestInit (HTTP-Kontext) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate (IIS7WorkerRequestNotificationPrivat

Es wäre eine große Hilfe, wenn jemand hilft, ich bin für eine Woche geschlagen.

Bitte teilen Sie mir mit, ob weitere Informationen erforderlich sind

Danke im Voraus

Antworten auf die Frage(2)

Ihre Antwort auf die Frage