Hi,
I am working on a continuos integration project with Cruise
Control.NET and I am encountering a problem regarding the usage of
<startupState> element. When I use that element the cruise
control.net
service will crash and the error from it logged in Application Log is:
Service cannot be started.
ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Unused
node detected: <startupState>Stopped</startupState>
at
ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.WarnOnInvalidNode
(InvalidNodeEventArgs args)
at
ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.HandleUnusedNode
(InvalidNodeEventArgs args)
at Exortech.NetReflector.InvalidNodeEventHandler.Invoke
(InvalidNodeEventArgs args)
at Exortech.NetReflector.NetReflectorTypeTable.OnInvalidNode
(InvalidNodeEventArgs args)
at Exortech.NetReflector.XmlTypeSerialiser.ReadMembers(XmlNode
node, Object instance, NetReflectorTypeTable table)
at Exortech.NetReflector.XmlTypeSerialiser.Read(XmlNode node,
NetReflectorTypeTable table)
at Exortech.NetReflector.NetReflectorReader.Read(XmlNode node)
at
ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.Read
(XmlDocument document)
at
ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load
(FileInfo...
I don't know what am I doing wrong. I use the <startupState> element
like this:
<startupState>Stopped</startupState>
directly under the <project> element in the cruise
control.net config
file
Thanks in advance,
Adrian