Configuration system failed to initialize, fatal error upon launch

Issue #1161 new
Dave Nelson created an issue

v6.2, running app and all files off usb stick on windows 10, happens every time I attempt to open launchbox or big box

System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section runtime. (D:\LaunchBox\LaunchBox.exe.config line 3) at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey) --- End of inner exception stack trace --- at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey) at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) at System.Diagnostics.DiagnosticsConfiguration.Initialize() at System.Diagnostics.DiagnosticsConfiguration.get_Sources() at System.Diagnostics.TraceSource.Initialize() at System.Security.Cryptography.Xml.SignedXmlDebugLog.get_InformationLoggingEnabled() at System.Security.Cryptography.Xml.SignedXmlDebugLog.LogBeginCheckSignatureFormat(SignedXml signedXml, Func`2 formatValidator) at System.Security.Cryptography.Xml.SignedXml.CheckSignatureFormat() at System.Security.Cryptography.Xml.SignedXml.CheckSignature(AsymmetricAlgorithm key) at LaunchBox.Graphing.IsValidGraph(String licensePublicKey, XmlDocument doc) at LaunchBox.Graphing..ctor(String path) at (String[] ) at LaunchBox.Program.Main(String[] args)

Comments (9)

  1. Dave Nelson reporter

    The only variable I can think of is that the usb stick with the launchbox folder on it was used on a different Windows 10 machine. I'll be trying updating .NET which seems to be listed in the config file as well as using a launchbox export zip tonight.

  2. Jason Carr repo owner

    Hi bikeking8, the latest betas (and 6.3 which should come out today) use/require .NET 4.6.1 now. Not sure if that has anything to do with what is happening though; this doesn't make a whole lot of sense.

    I guess the first thing I would try is deleting those .config files (better to move them somewhere else actually so you can restore them later). See if LaunchBox runs if you delete them. Still doesn't really make sense, but worth a shot.

  3. Dave Nelson reporter

    Thanks for the quick response! It appears I'm at 4.6.1 already, and the lack of config files gave me the error below. Haven't tried the portable zip export yet.

    System.NullReferenceException: Object reference not set to an instance of an object. at System.Net.WebRequest.get_PrefixList() at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase) at System.Net.WebClient.GetWebRequest(Uri address) at System.Net.WebClient.DownloadStringAsync(Uri address, Object userToken)

  4. Dave Nelson reporter

    Yes, just tried a clean install on the hard drive to the default user location. Opened first time then only get this error message. Wont bore you with specs but its the HP Stream Mini 200 010 Im trying this on, Windows 10 OS.

  5. Jason Carr repo owner

    Hi bikeking8, we've seen some similar odd issues with people not having the latest version of .NET installed. Try downloading .NET 4.6.2 and installing it to see if that helps.

  6. Dave Nelson reporter

    Yes, I'm at 4.6.1 and still seeing it. I'm wondering if it's the available instruction sets on the HP Mini Stream CPU that's the cause of this. I know that was the performance problem when I was mucking about with PCSX2.

  7. Jason Carr repo owner

    I see, that could be. Pretty strange nonetheless. I hate to say it but I'm curious if a reinstall of Windows would fix it. Though I doubt that's something you're gonna want to do.

  8. Log in to comment