Here's what I've done: - Created a new user (CCNet) on the build machine and gave it Administrator rights - Went into the Services window, selected the CCService and changes the Log On As.. to the CCNet account - Restarted my machine
I'm still getting NAnt timing out. Here is the last line of the ccnet.log: 2010-03-12 14:39:02,211 [3340:DEBUG] [trunc C:\Program Files \NAntBuilder 2\nant-0.86-nightly-2009-05-05\bin\NAnt.exe] Authentication realm: <svn://10.0.0.210:3690> 6d758339-8c17-3049-8c7e- e6018a2f39a5 2010-03-12 14:44:06,493 [trunc:WARN] Process timed out: C:\Program Files\NAntBuilder 2\nant-0.86-nightly-2009-05-05\bin\NAnt.exe -nologo - buildfile:"C:\NAntBuilds\trunc\NAnt Build File\trunc.build" - logger:NAnt.Core.XmlLogger -t:net-3.5 -D:CCNetArtifactDirectory="C: \Program Files\CruiseControl.NET\server\trunc\Artifacts" - D:CCNetBuildCondition=ForceBuild -D:CCNetBuildDate=2010-03-12 - D:CCNetBuildTime=14:38:31 -D:CCNetFailureUsers="mbarron" - D:CCNetIntegrationStatus=Unknown -D:CCNetLabel=27 - D:CCNetLastIntegrationStatus=Exception -D:CCNetListenerFile="C: \Program Files\CruiseControl.NET\server\trunc\Artifacts \trunc_ListenFile.xml" -D:CCNetModifyingUsers= -D:CCNetNumericLabel=27 -D:CCNetProject=trunc -D:CCNetProjectUrl=http://COLOSSUS/ccnet - D:CCNetRequestSource=Dashboard -D:CCNetWorkingDirectory="C:\Program Files\CruiseControl.NET\server\trunc\WorkingDirectory" Build_GUIElements. Process id: 3288. This process will now be killed. 2010-03-12 14:44:06,493 [trunc:DEBUG] Sending kill to process 3288 and waiting 10 seconds for it to exit. 2010-03-12 14:44:08,585 [trunc:WARN] The process has been killed: 3288 2010-03-12 14:44:08,585 [trunc:INFO] Task execution failed 2010-03-12 14:44:08,585 [trunc:INFO] Task output: 2010-03-12 14:44:08,585 [trunc:INFO] Task error: Authentication realm: <svn://10.0.0.210:3690> 6d758339-8c17-3049-8c7e-e6018a2f39a5 2010-03-12 14:44:08,633 [trunc:DEBUG] Supplied output is not valid xml. Writing as CDATA 2010-03-12 14:44:08,633 [trunc:DEBUG] Output: Authentication realm: <svn://10.0.0.210:3690> 6d758339-8c17-3049-8c7e-e6018a2f39a5 2010-03-12 14:44:08,633 [trunc:DEBUG] Exception: System.Xml.XmlException: Name cannot begin with the '/' character, hexadecimal value 0x2F. Line 1, position 28. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos) at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlWriter.WriteNode(XmlReader reader, Boolean defattr) at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNode(XmlReader reader, Boolean defattr) at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNode(String xml) 2010-03-12 14:44:08,633 [trunc:INFO] Integration complete: Exception - 12/03/2010 14:44:08 Any ideas? Cheers, Matt On Mar 9, 1:47 pm, g1eagle <[email protected]> wrote: > What I typically do when configuring my build machines is set up a > user with admin privileges and then I modify the service to run as > this user. > > Have you taken a look at the ccnet.log within the server folder? > > On Mar 8, 10:52 am, mattyB <[email protected]> wrote: > > > > > Hi all, > > > When I run CC.Net as a service it hangs till timeout when running (or > > not as the cast may be) NAnt. I can get it to work by running the > > command-line version, but not the service. Here is the log entry: > > > 2010-03-08 15:10:19,465 [3504:DEBUG] [Project_trunc C:\Program Files > > \NAntBuilder 2\nant-0.86-nightly-2009-05-05\bin\NAnt.exe] > > Authentication realm: <svn://10.0.0.210:3690> 6d758339-8c17-3049-8c7e- > > e6018a2f39a5 > > > Can anyone help me out please? Many thanks in advance, > > > mattyB
