Page 1 of 1

iTunesKeys Broken with New iTunes 12.7.0.166 Update?

PostPosted: Mon Oct 02, 2017 9:07 am
by thenothingx
Good morning!

Recently, my iTunes updated to 12.7.0.166, and since then, my copy of iTunesKeys has not been working properly. My computer will successfully start iTunesKeys, which starts iTunes, but immediately after changing to the next song, iTunesKeys will crash. I reviewed my event viewer, and came up with these two entries:

.NET Runtime error:

Application: iTunesKeys.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Xml.XmlException
at System.Xml.XmlTextReaderImpl.Throw(System.Exception)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil..ctor(System.IO.Stream, System.String, Boolean, System.Configuration.ConfigurationSchemaErrors)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

Exception Info: System.Configuration.ConfigurationErrorsException
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(System.Configuration.ConfigurationSchemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(System.Object, System.Configuration.Internal.InternalConfigEventArgs)

Exception Info: System.Configuration.ConfigurationErrorsException
at System.Configuration.ConfigurationManager.PrepareConfigSystem()
at System.Configuration.ConfigurationManager.GetSection(System.String)
at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(System.String)
at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetConfigurationSection(System.String)
at System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetSectionNoTrace(System.String)
at System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()
at System.ServiceModel.Diagnostics.TraceUtility..cctor()

Exception Info: System.TypeInitializationException
at System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()
at System.ServiceModel.ServiceHostBase..ctor()
at System.ServiceModel.ServiceHost..ctor(System.Type, System.Uri[])
at CefSharp.Internals.BrowserProcessServiceHost..ctor(CefSharp.Internals.JavascriptObjectRepository, Int32, Int32)
at CefSharp.ManagedCefBrowserAdapter.OnAfterBrowserCreated(Int32)
at <Module>.CefSharp.Internals.ClientAdapter.OnAfterCreated(CefSharp.Internals.ClientAdapter*, CefRefPtr<CefBrowser>*)


Application error:

Faulting application name: iTunesKeys.exe, version: 1.9.2.0, time stamp: 0x5612c454
Faulting module name: KERNELBASE.dll, version: 10.0.15063.608, time stamp: 0xadaa6ed6
Exception code: 0xe0434352
Fault offset: 0x000eb832
Faulting process id: 0x3c2c
Faulting application start time: 0x01d33b7d6d313b51
Faulting application path: C:\Program Files (x86)\iTunesKeys\iTunesKeys.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 5c8022ec-3966-4e9a-bfbe-9e41a4f67377
Faulting package full name:
Faulting package-relative application ID:


I'm running a 64 bit Windows 10 Pro machine. Let me know if there's any additional information needed.

Re: iTunesKeys Broken with New iTunes 12.7.0.166 Update?

PostPosted: Thu Oct 05, 2017 11:09 am
by thenothingx
I think you can call this one resolved. Using the stack trace for the error, I went and tracked down the user.config file in my Windows user profile and saw that it was 0 kb. Maybe it got closed prematurely and the file corrupted itself. Deleting the file and restarting iTunesKeys fixed the issue.