This issue happens by accident after posting. The site will work fine and then bam, I get this error while analyzing webconfig. I just reissue and everything works fine. When publishing, I checked the box to delete existing files so that there is no room for garbage.
This is an MVC4 project using .net 4.5 and Azure Access Control Service (ACS) integrated with Yahoo !. This error occurs when redirecting back from Yahoo. This method happens every time, but I found a message (which I cannot find now, of course), where there was an error with integration of 4.5.1 Identity and Access Visual Studio. I went to the previous version, and now it is only occasionally.
ID8030: The value of the type property cannot be parsed.
Verify that the type attribute of the element '<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>' correct.
In the above error message, I replaced the items in brackets ([]) for this message.
Here is the 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
source share