none
.NET Framework Unhandled Exception: Initialization Failure RRS feed

  • Question

  • I have recently been receiving a .NET error every time I start my computer. The error popup box simply says "Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Configuration system failed to initialize." Clicking continue or quit cause no change except closing the box. I have already searched numerous forums about how to fix this issue and have tried updating .NET which only gives me a "Most recent version already installed" error, updating Windows 10 which just crashes the computer at next startup, installing Visual Studio to force .NET to update and reset which does nothing. The only thing I haven't tried is a complete reinstall of the Windows 10 operating system.

    Any input or advice would be greatly appreciated. I am currently running a MSI GE72VR 7RF Apache Pro gaming laptop with a GTX 1060 GPU, Intel i7 processor with 16 GB ram, and The latest version of Windows 10.

    I have included a copy of the entire .NET error details below.

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: '.', hexadecimal value 0x00, is an invalid character. Line 10, position 1. (C:\Users\nitro\AppData\Local\MSI\SCM.exe_Url_zv0ikcohnhzptbjtykvepncdk0ijftla\13.16.8191.0\user.config line 10) ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 10, position 1.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
       at System.Xml.XmlTextReaderImpl.ParseText()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlTextReaderImpl.Skip()
       at System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
       at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
       at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
       at System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
       at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
       --- End of inner exception stack trace ---
       at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
       at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
       at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
       --- End of inner exception stack trace ---
       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.SetPropertyValueByName(String propertyName, Object propertyValue)
       at System.Configuration.SettingsBase.set_Item(String propertyName, Object value)
       at System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value)
       at MSI.SCM.SCMII.SetECOtoEC()
       at MSI.SCM.SCMII.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    SCM
        Assembly Version: 13.16.8191.0
        Win32 Version: 13.016.08191.0
        CodeBase: file:///C:/Program%20Files%20(x86)/SCM/SCM.exe
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2046.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2046.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    WPFOSD
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/SCM/WPFOSD.DLL
    ----------------------------------------
    PresentationFramework
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
    ----------------------------------------
    WindowsBase
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    ----------------------------------------
    PresentationCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
    ----------------------------------------
    System.Xaml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
    ----------------------------------------
    System.Management
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    PresentationFramework.Aero2
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2046.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
    ----------------------------------------
    UIAutomationTypes
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2046.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
    ----------------------------------------
    MSIECO
        Assembly Version: 1.0.1308.2003
        Win32 Version: 1.0.1308.2003
        CodeBase: file:///C:/Program%20Files%20(x86)/SCM/MSIECO.DLL
    ----------------------------------------
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Sunday, October 8, 2017 7:47 PM

Answers

  • Hi Kyle,

    Thank you for posting in MSDN forum.

    Based on our experience, this issue is not caused by .Net Framework, but the some background programs or Anti-virus software.

    Please follow the instructions from this article.

    How to perform a clean boot procedure to determine whether background programs are interfering with a game or a program that you currently use

    Then uninstall the AV software, such as Panda cloud antivirus, reboot your machine to check if this error information still occurs, if it is still exists, please feel free to contact us, we are willing to help you troubleshoot.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Kyle Reich Wednesday, October 11, 2017 4:49 PM
    Tuesday, October 10, 2017 6:19 AM
    Moderator

All replies

  • Hi Kyle,

    Thank you for posting in MSDN forum.

    Based on our experience, this issue is not caused by .Net Framework, but the some background programs or Anti-virus software.

    Please follow the instructions from this article.

    How to perform a clean boot procedure to determine whether background programs are interfering with a game or a program that you currently use

    Then uninstall the AV software, such as Panda cloud antivirus, reboot your machine to check if this error information still occurs, if it is still exists, please feel free to contact us, we are willing to help you troubleshoot.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Kyle Reich Wednesday, October 11, 2017 4:49 PM
    Tuesday, October 10, 2017 6:19 AM
    Moderator
  • This appears to have worked and to my displeasure it appears to by my Kaspersky Internet Security subscription that is causing the .NET failure. I will go and submit my analysis to Kaspersky so they can hopefully inform me how to prevent their program from causing the error, or release a future patch to fix the conflict.
    Wednesday, October 11, 2017 4:49 PM
  • Hi Kyle,

    Recently I had the exact same problem.
    I did a clean startup and finally (after enabling and disabling startup applications and restarting the computer, every time) I could determine that the problem is generated by the SCM application. This is a native application from MSI computers (I have an MSI too).

    If you look the copy you shared of the entire .NET error details, you can see that it's written:
    Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: '.', hexadecimal value 0x00, is an invalid character. Line 10, position 1. (C:\Users\nitro\AppData\Local\MSI\SCM.exe_Url_zv0ikcohnhzptbjtykvepncdk0ijftla\13.16.8191.0\user.config line 10) ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 10, position 1.

    You said that you solved the problem? Finally, It was your Kaspersky Internet Security subscription who caused the problem? I don't know what I have to do but I think that the problem is generated by the SCM aplication because I don't have Kaspersky Security and we both have an MSI with this application.

    I will try to reinstall the application or look to update it or something similar. I try it and if you want I tell you the result.
    Friday, December 15, 2017 1:06 AM
  • Hey Ignasi!

    I'm having the exact same problem and I have an MSI laptop/notebook and also have the SCM program that msi includes in their laptop/notebook line. I don't use the scm program as I use the built in windows 10 options (top right button notification button/icon) of enabling and disabling bluetooth and such. I will try to turn off SCM by clicking start and searching for task manager, clicking startup tab and then disabling the SCM program and update the result.

    This is my first msi laptop and I've had a lot of issues with msi's drivers and the killer wifi/bluetooth card's built in bluetooth not working out of the box with microsoft's updates/installs. This is a newer laptop and it seems the newer the components and software/programs the more quacks there are with software working in harmony or MSI not keeping up with the updates windows provides. 

    You mentioned you will try the driver updates, what was your result?

    Update: After turning off the SCM program, I did a full shutdown of windows by clicking windows button, power button icon on bottom and clicking shutdown. I wanted a full shutdown instead of a restart of the system to make use of the full shutdown. After restarting, this .net error message box is gone! Note: I did undo a few other programs as well such as disabling startup of the steelseries engine 3 as I can start it when actually using it along with killer control center and a few others but I'm pretty sure just disabling the SCM is what fixed it. Thank yall for this thread!
    Tuesday, December 26, 2017 7:52 PM