Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 114357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:50:52+00:00 2026-05-11T02:50:52+00:00

In my winform app, I am trying to add a userSetting, although the error

  • 0

In my winform app, I am trying to add a userSetting, although the error is occuring with appSettings too. When the setting is added I get an exeption thrown that says: ‘Configuration system failed to initialize’ with a Inner Exception ‘Unrecognized configuration section userSetting’

Exception Details:

System.Configuration.ConfigurationErrorsException was unhandled   Message='Configuration system failed to initialize'   Source='System.Configuration'   BareMessage='Configuration system failed to initialize'   Line=0   StackTrace:        at System.Configuration.ConfigurationManager.PrepareConfigSystem()        at System.Configuration.ConfigurationManager.RefreshSection(String sectionName)        at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)        at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)        at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)        at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)        at System.Configuration.SettingsBase.get_Item(String propertyName)        at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)        at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)        at Settings.get_ApplicationData() in \Properties\Settings.Designer.cs:line 41        at Common.Initialize.IsSettingsInitialized()         at SurveyClient.Program.Main()         at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)        at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)        at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()        at System.Threading.ThreadHelper.ThreadStart_Context(Object state)        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)        at System.Threading.ThreadHelper.ThreadStart()   InnerException: System.Configuration.ConfigurationErrorsException        Message='Unrecognized configuration section userSettings.        Source='System.Configuration'        BareMessage='Unrecognized configuration section userSettings.'        Line=3        StackTrace:             at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)             at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)             at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()             at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)        InnerException:  
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:50:53+00:00Added an answer on May 11, 2026 at 2:50 am

    Try checking that the app.config (myapp.exe.config once deployed) file exists and has at the top (possibly with other bits)

    <?xml version='1.0' encoding='utf-8' ?> <configuration> <configSections> <sectionGroup name='userSettings'     type='System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' > </sectionGroup> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In short: Trying to write a wcf service for a winform-app that invokes a
I'm trying to add some performance counters to my asp.net website. Now, I know
Quick question: One of my forms in my winform app (c#) makes an async
I am trying to enable JIT debugging for my winform application, I want to
I am trying to bind the ConnectionStringsSettingsCollection from my app.config file to a ListBox
I have a C# winform app that is collecting some data from console-based commands.
I am trying to write a WinForms app, that allows searching for a files,
I am trying to run the following code on a .net 2 winforms app:
I am trying to implement some very simple Data Binding in my User Control
I'm trying to confirm my findings on permissions. In order for the SharePoint object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.