Przerywany błąd tożsamości systemu Windows Azure podczas analizowania webconfig

Ten problem pojawia się pozornie losowo po opublikowaniu.Witryna będzie działać dobrze a potem bam, otrzymuję ten błąd podczas analizowania webconfig. Po prostu publikuję ponownie i działa jeszcze przez chwilę. Podczas publikowania zaznaczyłem pole, aby usunąć istniejące pliki, więc nie powinno być żadnych śmieci.

Jest to projekt MVC4 wykorzystujący .net 4.5 i usługę kontroli dostępu Azure (ACS) zintegrowane z Yahoo !. Ten błąd występuje podczas przekierowywania z Yahoo. Tak dzieje się za każdym razem, ale znalazłem post (którego oczywiście nie mogę znaleźć), w którym wystąpił błąd związany z integracją 4.5.1 Identity i Access Visual Studio. Poszedłem do poprzedniej wersji i teraz to tylko czasami.

ID8030: Nie można przeanalizować wartości właściwości „type”.
Sprawdź, czy atrybut typu'<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 jest poprawny.

W powyższym komunikacie o błędzie zastąpiłem elementy w nawiasach ([]) dla tego posta.

Oto ślad stosu:

[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

questionAnswers(3)

yourAnswerToTheQuestion