Is there a way to wipe everything and reinstall? A normal uninstall/reinstall from control panel apparently leaves the service out there?
I'd like to be able to keep the devices and scenes, but install as if it was a fresh machine...
When I try to start the service, I get two event log entries:
----------------------- #1 ------------------------
Application: MLS.ZWave.Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Configuration.ConfigurationErrorsException
Stack:
at System.Configuration.ConfigurationManager.PrepareConfigSystem()
at System.Configuration.ConfigurationManager.GetSection(System.String)
at System.Xml.XmlConfiguration.XmlReaderSection.getProhibitDefaultUrlResolver()
at System.Xml.Schema.Parser..ctor(System.Xml.Schema.SchemaType, System.Xml.XmlNameTable, System.Xml.Schema.SchemaNames, System.Xml.Schema.ValidationEventHandler)
at System.Xml.Schema.XmlSchema.Read(System.Xml.XmlReader, System.Xml.Schema.ValidationEventHandler)
at System.Xml.Schema.XmlSchema.Read(System.IO.Stream, System.Xml.Schema.ValidationEventHandler)
at System.Data.EntityModel.SchemaObjectModel.Schema+SomSchemaSetHelper.AddXmlSchemaToSet(System.Xml.Schema.XmlSchemaSet, System.Data.EntityModel.SchemaObjectModel.XmlSchemaResource, System.Collections.Generic.HashSet1<system.string>)<br> at System.Data.EntityModel.SchemaObjectModel.Schema+SomSchemaSetHelper.AddXmlSchemaToSet(System.Xml.Schema.XmlSchemaSet, System.Data.EntityModel.SchemaObjectModel.XmlSchemaResource, System.Collections.Generic.HashSet
1
at System.Data.EntityModel.SchemaObjectModel.Schema+SomSchemaSetHelper.ComputeSchemaSet(System.Data.EntityModel.SchemaObjectModel.SchemaDataModelOption)
at System.Data.Common.Utils.Memoizer2+<>c__DisplayClass2[[System.Data.EntityModel.SchemaObjectModel.SchemaDataModelOption, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<evaluate>b__0()<br> at System.Data.Common.Utils.Memoizer
2+Result[[System.Data.EntityModel.SchemaObjectModel.SchemaDataModelOption, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.
at System.Data.Common.Utils.Memoizer2[[System.Data.EntityModel.SchemaObjectModel.SchemaDataModelOption, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Evaluate(System.Data.EntityModel.SchemaObjectModel.SchemaDataModelOption)<br> at System.Data.EntityModel.SchemaObjectModel.Schema.CreateXmlReaderSettings()<br> at System.Data.EntityModel.SchemaObjectModel.Schema.Parse(System.Xml.XmlReader, System.String)<br> at System.Data.EntityModel.SchemaObjectModel.SchemaManager.ParseAndValidate(System.Collections.Generic.IEnumerable
11<system.string>, System.Data.EntityModel.SchemaObjectModel.SchemaDataModelOption, System.Data.EntityModel.SchemaObjectModel.AttributeValueNotification, System.Data.EntityModel.SchemaObjectModel.AttributeValueNotification, System.Data.EntityModel.SchemaObjectModel.ProviderManifestNeeded, System.Collections.Generic.IList
1
at System.Data.EntityModel.SchemaObjectModel.SchemaManager.ParseAn
Incontrol HA Service fails to start
- 119 Views
- Last Post 27 November 2014
Have you tried to reboot your PC and see if that helps?
Yup, tried restarting, reinstalling, uninstall/restart/install, etc several times.
Just noticed my event log posts got cut off. Here's the rest of the first entry:
at System.Data.Metadata.Edm.EdmItemCollection.LoadItems(System.Collections.Generic.IEnumerable1<system.xml.xmlreader>, System.Collections.Generic.IEnumerable
1
at System.Data.Metadata.Edm.EdmItemCollection.Init(System.Collections.Generic.IEnumerable1<system.xml.xmlreader>, System.Collections.Generic.IEnumerable
1
at System.Data.Metadata.Edm.EdmItemCollection..ctor(System.Collections.Generic.IEnumerable1<system.xml.xmlreader>, System.Collections.Generic.IEnumerable
1
at System.Data.Metadata.Edm.MetadataCache+EdmMetadataEntry.LoadEdmItemCollection(System.Data.Metadata.Edm.MetadataArtifactLoader)
at System.Data.Metadata.Edm.MetadataCache+EdmItemCollectionLoader.LoadItemCollection(EdmMetadataEntry)
at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection[[System.Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](IItemCollectionLoader`1
at System.Data.Metadata.Edm.MetadataCache.GetOrCreateEdmItemCollection(System.String, System.Data.Metadata.Edm.MetadataArtifactLoader, System.Object ByRef)
at System.Data.EntityClient.EntityConnection.LoadEdmItemCollection(System.Data.Metadata.Edm.MetadataWorkspace, System.Data.Metadata.Edm.MetadataArtifactLoader)
at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace(Boolean)
at System.Data.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
at System.Data.Objects.ObjectContext..ctor(System.Data.EntityClient.EntityConnection, Boolean)
at System.Data.Objects.ObjectContext..ctor(System.String, System.String)
at MLS.ZWave.Data.zwaveEntities..ctor(System.String)
at MLS.ZWave.Data.Context.getContext()
at MLS.ZWave.BusinessObjects.DBSettings.getSetting(MLS.ZWave.BusinessObjects.SettingType)
at MLS.ZWave.WCFService.ClientCommunicationManager.startCommunications()
at MLS.ZWave.WCFService.ZWaveSVC.<.ctor>b_8()
at System.Threading.ThreadHelper.ThreadStartContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
And the second Event entry:
Faulting application name: MLS.ZWave.Service.exe, version: 3.126.5305.30730, time stamp: 0x53c07b84
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86
Exception code: 0xe0434352
Fault offset: 0x0000c42d
Faulting process id: 0x11e0
Faulting application start time: 0x01d0052283a5bb40
Faulting application path: C:\Program Files (x86)\Moonlit Software, LLC\InControl HA\MLS.ZWave.Service.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: c225baf0-7115-11e4-afa8-00044b02b78f
Since it's still having problems after a reboot, I was looking for what is left on the machine after an uninstall. I found this:
- Script directory is left, but only the scripts I created. (Doubt this is an issue).
- The data in "%ProgramData%\zwave". This is the key file and DB with scenes/devices. (Hope this isn't the issue since I don't want to recreate everything).
- The Incontrol ZWave Service entry is left in Services, but there's no service for it to run so it's just stopped.
I've done an {SC DELETE "InControl ZWave Service"} from an elevated command prompt after an uninstall to drop it from the list of services and still have the issue, that's why I think there's something else left hanging around.
Thanks
Would you also include the content of your logfile? It might be easiest to paste it into a new gist (https://gist.github.com/) and then reply with the link to the gist.
For what it's worth... this is sounding like the .NET configuration file is corrupt for the InControl app. This is a file that Windows builds and stuffs away in the Windows system folder somewhere. I'm hoping the logfile will point out the location of the file.
I'm getting KERNALBASE.DLL errors in the event log for a couple other apps.
Going to try an SFC /SCANNOW and see what happens.
Sorry, I have been tied up with this...
I've had other AppCrash items and started to trace them all down and it seemed like the common denominator was that recurring KERNALBASE.DLL fault.
I ended up reformatting and reinstalling from the O/S up on Tuesday evening. Will post back if I have more issues, but I think in this case the "big hammer" solution of a full reinstall was the best bet.
Thanks, and have a great Thanksgiving!