This project has moved and is read-only. For the latest updates, please go here.

Adding <configSections> to application config file - WCF load test tool throws exception

Sep 4, 2013 at 5:32 PM
Edited Sep 18, 2013 at 10:00 PM

While launching application using "Run" option, WCF load test tool thows exception. This worked fine with earlier version of the applicaiton, compared both config files, and found that in latest version <configSections> section is added to config file. Please suggest to overcome this issue.

Config section from applicaiton config file:

<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
  <section name="FMGlobal.CSS.Policy.UI.Client.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />


Error while setting up or running the program under test

Unhandled Exception: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section applicationSettings. (C:\UI Client -DEV10\FMGlobal.CSS.Policy.UI.Client.exe.Config line 92)

at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)

at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)

at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()

at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)

--- End of inner exception stack trace ---