Windows Azure-Identitätsfehler beim Analysieren von webconfig

Dieses Problem tritt scheinbar zufällig nach der Veröffentlichung auf.Die Seite wird gut funktionieren und dann, bam, bekomme ich diesen Fehler beim Parsen der webconfig. Ich veröffentliche es einfach neu und es funktioniert wieder ein bisschen. Beim Veröffentlichen habe ich das Kontrollkästchen aktiviert, um vorhandene Dateien zu entfernen, damit kein Müll herumliegt.

Dies ist ein MVC4-Projekt, das .NET 4.5 und den in Yahoo! integrierten Azure Access Control Service (ACS) verwendet. Dieser Fehler tritt auf, wenn Sie von Yahoo zurückleiten. Dies geschah jedes Mal, aber ich fand einen Post (den ich jetzt natürlich nicht finden kann), in dem es einen Fehler bei der Integration von 4.5.1 Identity und Access Visual Studio gab. Ich bin zur vorherigen Version gegangen und jetzt ist es nur manchmal.

ID8030: Der Wert der Eigenschaft 'type' konnte nicht analysiert werden.
Stellen Sie sicher, dass das type-Attribut von'<issuerNameRegistry type="System.IdentityModel.Tokens.ValidatingIssuerNameRegistry, System.IdentityModel.Tokens.ValidatingIssuerNameRegistry"><authority name="[my authority]"><keys><add thumbprint="[print]" /></keys><validIssuers><add name="[issuer]" /></validIssuers></authority></issuerNameRegistry>' Element ist korrekt.

In der obigen Fehlermeldung habe ich die Elemente in Klammern ([]) für diesen Beitrag ersetzt.

Hier ist der Stack-Trace:

[TypeLoadException: ID8030: The value of the 'type' property could not be parsed. *** element is correct.]
System.IdentityModel.Configuration.TypeResolveHelper.Resolve(ConfigurationElementInterceptor customTypeElement, Type customType) +602659
System.IdentityModel.Configuration.IdentityConfiguration.GetIssuerNameRegistry(IssuerNameRegistryElement element) +114
System.IdentityModel.Configuration.IdentityConfiguration.LoadHandlerConfiguration(IdentityConfigurationElement element) +841
System.IdentityModel.Configuration.IdentityConfiguration.LoadConfiguration(IdentityConfigurationElement element) +117
System.IdentityModel.Configuration.IdentityConfiguration..ctor(String identityConfigurationName) +180
System.IdentityModel.Services.Configuration.FederationConfiguration.LoadConfiguration(FederationConfigurationElement element) +392
System.IdentityModel.Services.Configuration.FederationConfiguration..ctor(Boolean loadConfig) +94
System.IdentityModel.Services.FederatedAuthentication.CreateFederationConfiguration() +71
System.IdentityModel.Services.FederatedAuthentication.get_FederationConfiguration() +85
System.IdentityModel.Services.HttpModuleBase.Init(HttpApplication context) +56
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): ***... element is correct.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873784
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

Antworten auf die Frage(3)

Ihre Antwort auf die Frage