Forgotten Hope Public Forum
Forgotten Hope 2 => FH2 Help / Support => Topic started by: Midza47 on 06-06-2018, 12:06:06
-
When i launch launcher and click finish this happens
An application error occurred. Please contact mod developers with the following information.
Unhandled System.Configuration.ConfigurationErrorsExceptionexception:
The configuration section 'connectionstrings' has an unexpected declaration, bellow this there is bunch of text
-
Maybe the launchers config file is defect for some reason. If you delete it, it should create a new one without errors.
So delete the following folder manually: C:\Users\<your username>\AppData\Local\Forgotten_Hope
(Note: you may need to activate "show hidden files and folders" in windows to find it)
or open the commandline and run the following command:
rmdir /S /Q "%LOCALAPPDATA%\Forgotten_Hope"
-
I tried to find those files, but it seems they don't even exists. The only files i find is files in BF2 mods folder "fh2".
And there i have bin and settings, in bin there is FH2 Launcher and FH2 Updater, and some .dll files.
And in settings i have controls.con , serversettings.con.
When i run FH2 Launcher it just pops error and when i delete files and run setup again same happens.
Sry for my bad English it's not my native language.
-
THIS IS WHAT HAPPENS WHEN I TRY TO LAUNCH GAME
1.2.4.0 on Microsoft Windows NT 6.1.7601 Service Pack 1 reported this error The configuration section 'connectionStrings' has an unexpected declaration.
Full error:
System.Configuration.ConfigurationErrorsException: The configuration section 'connectionStrings' has an unexpected declaration.
at System.Configuration.ConfigurationManager.get_ConnectionStrings()
at System.Configuration.PrivilegedConfigurationManager.get_ConnectionStrings()
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 FH2CommunityUpdater.Properties.Settings.get_firstRun()
at FH2CommunityUpdater.MainWindow..ctor(String[] entryArgs)
at FH2CommunityUpdater.Program.Main(String[] args)
-
Your error indicates that your user.config file must be corrupted somehow.
"FH2CommunityUpdater.Properties.Settings.get_firstRun()" is accessing the config file, everything after that is beyond our control.
Have you even downloaded FH2 yet? or does the error appear before the download?
please try the following:
click start and type
cmd
then press enter. now type
dir "%LOCALAPPDATA%\Forgotten_Hope"
press enter again and show us the result here