Aller au contenu

System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize


Messages recommandés

Posté(e)

I've had Tray Importer forever now and have had no problems up until last week. I tried opening it but I would get this error saying an "unhandled exception has occurred in a component in your application" instead. I tried looking at different discussions regarding this very common issue and have not found nothing even the slightest bit helpful. I have accidentally merged my mods folder and my mods backup folder with outdated and broken mods/cc and need this application now more than ever. The error I received in full reads: 

Révélation

 

[Window Title]
Sims 4 Tray Importer

[Main Instruction]
Oops! Something goes wrong...

[Main Description]
Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

Configuration system failed to initialize.

Click Details for more info. Press Ctrl+C to copy this message.

[&Details] [&Continue] 

[StackTrace]

************** Exception Text **************
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize
   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 Sims4TrayImporter.Properties.Settings.get_CustomSearchEnabled()
   at Sims4TrayImporter.Controls.CCFileView..ctor()
   at Sims4TrayImporter.MainForm.InitializeComponent()
   at Sims4TrayImporter.MainForm..ctor()
   at Sims4TrayImporter.Program.Main(String[] args)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
S4TI
    Assembly Version: 1.0.0.0
    Win32 Version: 1.10.03.1
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI_x64.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Sims4.GameInfo
    Assembly Version: 1.0.5.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.GameInfo.DLL
----------------------------------------
Sims4.Common
    Assembly Version: 1.0.5.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.Common.DLL
----------------------------------------
S4TI.LocaleManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI.LocaleManager.DLL
----------------------------------------
TeameeVo.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/TeameeVo.Common.DLL
----------------------------------------
TeameeVo.Import
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/TeameeVo.Import.DLL
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------


[Footer Text]
Please visit Support: Please visit luniversims.fr to get help.

 

 

Posté(e)
13 hours ago, deevo said:

@contagiouslovexoxo the configuration file got corrupted, go to "C:\Program Files (x86)\TeameeVo\Sims 4 Tray Importer (S4TI)" and run s4ti_x64 - reset.bat (or s4ti - reset.bat if you use the 32-bit version).

I tried running it normally and it gave me the same error message then I tried running as an admin and it said windows could not find the file

Posté(e)
Révélation

 

[Window Title]
Sims 4 Tray Importer

[Main Instruction]
Oops! Something goes wrong...

[Main Description]
Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

Configuration system failed to initialize.

Click Details for more info. Press Ctrl+C to copy this message.

[&Details] [&Continue] 

[StackTrace]

************** Exception Text **************
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize
   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 Sims4TrayImporter.Properties.Settings.get_ThumbnailSize()
   at Sims4TrayImporter.Controls.LibraryUITile..ctor()
   at Sims4TrayImporter.MainForm.InitializeComponent()
   at Sims4TrayImporter.MainForm..ctor()
   at Sims4TrayImporter.Program.Main(String[] args)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
S4TI
    Assembly Version: 1.0.0.0
    Win32 Version: 1.10.03.2
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI_x64.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Sims4.GameInfo
    Assembly Version: 1.0.5.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.GameInfo.DLL
----------------------------------------
Sims4.Common
    Assembly Version: 1.0.5.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.Common.DLL
----------------------------------------
S4TI.LocaleManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI.LocaleManager.DLL
----------------------------------------
TeameeVo.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/TeameeVo.Common.DLL
----------------------------------------
TeameeVo.Import
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/TeameeVo.Import.DLL
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------


[Footer Text]
Please visit Support: Please visit luniversims.fr to get help.

 

 

  • Team
Posté(e)

@contagiouslovexoxo The configuration file is really broken. 😕

 

Go to "C:\Program Files (x86)\TeameeVo\Sims 4 Tray Importer (S4TI)" and upload both S4TI_x64.exe.config and S4TI.exe.config (select them then right-click Send to>Compressed Folder).

 

Then uninstall S4TI and make sure "C:\Program Files (x86)\TeameeVo\Sims 4 Tray Importer (S4TI)" no longer exists, then reinstall it.

Before reinstalling, you might also want to delete all folder starting with S4TI in "%LOCALAPPDATA%\TeameeVo" (open Explorer, paste the path in the address bar and press enter).

 

  • Team
Posté(e)

@contagiouslovexoxo Check if Windows contains errors by running the System File Checker:

  • Press Win+X to open the Quick Link Menu
  • Select Windows PowerShell (admin) or Command Prompt (admin)
  • Type sfc /scannow then press enter.
  • Windows is now searching for errors and will try to fix them if any.
    So wait until the scan is completed.

Sometimes errors are left but a second scan is enough to fix them, so restart Windows and relaunch the scan.

 

If there's still some errors that the System File Checker cannot fix, run the following command:
DISM /Online /Cleanup-Image /RestoreHealth

 

You can find more info here: FIXING WINDOWS 10 (Windows Central)

 

Checking your HDDs for errors before launching the scan would also be a good idea.

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.




×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer. Conditions d’utilisation Politique de confidentialité