Hi can you post your config?
with kind regards Ruben Willems On Wed, Aug 11, 2010 at 1:25 PM, jim_offroadcode < [email protected]> wrote: > Wondering if anyone can help... > > I'm trying to fix some of the errors we're getting on our build server > (which i've posted about in this group) so i installed CCNet > 1.5.7256.1 on my local machine. However it is having problems starting > the server. The console outputs '[CCNet Server:INFO] Reading > configuration file "C:\Program Files\CruiseControl.NET\server > \ccnet.config"' and then a big red ERROR section. > > I thought maybe i had an error in my config so tried with the default > config file provided with the install. The server starts ok with the > default config file (i.e. with nothing except the <cruisecontrol> > block but as soon as add any <project> blocks it is throwing an > exception. It does this when starting cruisecontrol and when > validating the file using ccvalidator. > > This only happens on my local install. The CCValidator on the build > machine itself opens and validates our main config file without any > problems. > > This is the error being thrown.... > > > 2010-08-11 11:52:51,390 [7] ERROR CruiseControl.NET [(null)] - > INTERNAL ERROR: > System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter(System.String) > ---------- > System.MethodAccessException: > System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter(System.String) > at System.Xml.XmlEventCache.WriteString(String text) > at > System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStringUnchecked(String > text) > at System.Xml.Xsl.CompiledQuery.Query.<xsl:template > name="EvalTextConstants">(XmlQueryRuntime {urn:schemas-microsoft- > com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt- > debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, > Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 > {urn:schemas-microsoft-com:xslt-debug}namespaces) in :line 25 > at System.Xml.Xsl.CompiledQuery.Query.<xsl:template > match="cb:include">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt- > debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug} > current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double > {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas- > microsoft-com:xslt-debug}namespaces) in :line 61 > at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply- > templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug} > runtime, XPathNavigator , Double , Double ) > at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="node()" > priority="-3">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug} > runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, > Double {urn:schemas-microsoft-com:xslt-debug}position, Double > {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas- > microsoft-com:xslt-debug}namespaces) in :line 16 > at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply- > templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug} > runtime, XPathNavigator , Double , Double ) > at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply- > templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug} > runtime, XPathNavigator , Double , Double ) > at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime > {urn:schemas-microsoft-com:xslt-debug}runtime) > at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime > {urn:schemas-microsoft-com:xslt-debug}runtime) > at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, > XmlResolver dataSources, XsltArgumentList argumentList, > XmlSequenceWriter results) > at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, > XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter > writer, Boolean closeWriter) > at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, > XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter > results) > at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, > XsltArgumentList arguments, XmlWriter results, XmlResolver > documentResolver) > at > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessor.PreProcess(XmlReader > input, XmlWriter output, PreprocessorUrlResolver resolver, Uri > input_uri) > at > > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.CreateXmlValidatingLoader(FileInfo > configFile) > at > > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.AttemptLoadConfiguration(FileInfo > configFile) > at > > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load(FileInfo > configFile) > at > ThoughtWorks.CruiseControl.Core.Config.FileConfigurationService.Load() > at > > ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.Load() > at > ThoughtWorks.CruiseControl.Core.Config.CachingConfigurationService.Load() > at ThoughtWorks.CruiseControl.Core.CruiseServer.Restart() > at > ThoughtWorks.CruiseControl.Core.Config.ConfigurationUpdateHandler.Invoke() > at > > ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.HandleConfigurationFileChanged(Object > source, FileSystemEventArgs args) > ----------
