When i run my application, it is giving the below error in browser.
The value of the property 'type' cannot be parsed. The error is: The type 'Common.Services.FeatureAuthorizationManager, Common.Services' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.ConfigurationErrorsException: The value of the property 'type' cannot be parsed. The error is: The type 'Common.Services.FeatureAuthorizationManager, Common.Services' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
TypeScript
[ConfigurationErrorsException: The value of the property 'type' cannot be parsed. The error is: Thetype'Common.Services.FeatureAuthorizationManager, Common.Services' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.] System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) +176System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) +1134System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1568System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1568System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +41System.Web.HttpContext.GetSection(String sectionName) +52System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName) +56System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey) +11System.IdentityModel.Configuration.SystemIdentityModelSection.get_Current() +95System.IdentityModel.Services.Configuration.FederationConfiguration.GetIdentityConfigurationName(FederationConfigurationElement element) +79System.IdentityModel.Services.Configuration.FederationConfiguration.LoadConfiguration(FederationConfigurationElement element) +308System.IdentityModel.Services.Configuration.FederationConfiguration..ctor(Boolean loadConfig) +97System.IdentityModel.Services.FederatedAuthentication.CreateFederationConfiguration() +72System.IdentityModel.Services.FederatedAuthentication.get_FederationConfiguration() +87System.IdentityModel.Services.HttpModuleBase.Init(HttpApplication context) +57System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +534System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +352System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296 [HttpException (0x80004005): The value of the property 'type' cannot be parsed. The error is: Thetype'Common.Services.FeatureAuthorizationManager, Common.Services' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9947444System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Vishal JadavRank #1,692 · 901 reputationPosted Sep 15, 2016, 6:09 AM EDT