By default the service is installed to run under local system account. To change that:
Go to start -> run service.msc Look for CruiseControl.Net service Right click on it -> properties LogOn tab You can change the credentials there. Rolando On Feb 4, 2013 3:24 AM, "santhosh yalamuri" <[email protected]> wrote: > Hi Ronaldo, > > How do i configure the ccnet service to run under a > particular user credential? > > I have installed CCNET in administrator account, so i > believe that it should have all the required permissions to run the build. > > Thanks, > Santhosh > > > > > On Thu, Jan 31, 2013 at 5:32 PM, Rolando Valdivia < > [email protected]> wrote: > >> Ccnet service run under a different user context (i.e. System, >> localService, etc.) These are some options: >> >> 1. Configure ccnet service to run under your user credentials. >> 2. Create a user for ccnet exclusively with the necessary privileges and >> configure the service to run under those credentials and do any ccnet >> related configuration using that user account. >> 3. Try to run additional commands (i.e. tf workspaces... Under the >> configured ccnet service credentials) >> >> The best option in my opinion is 2. You can login with that user account >> somenthing that you can't do with system account (you can but some tricks >> are required), in case your personal account get locked, ccnet service wont >> be affected. >> >> Please note that this kind of problems may occur in many situations where >> commads are per user i.e. certificate installation, environment variables, >> etc. >> >> Rolando >> On Jan 31, 2013 6:14 AM, "santhosh yalamuri" <[email protected]> >> wrote: >> >>> Hi, >>> >>> We are using CCNET and NANT in our daily build, CCNET config file >>> just calls a NANT Script. >>> >>> But the problem is that the NANT scripts that interact with TFS >>> server are failing when NANT script is called from CCNET config file, >>> withe the following error. >>> >>> [exec] Unable to determine the workspace. You may be able to correct >>> this by running 'tf workspaces /collection:TeamProjectCollectionUrl'. >>> >>> Build Error: NAnt.Core.BuildException >>> External Program Failed: H:\Program Files\Microsoft Visual Studio >>> 10.0\Common7\IDE\TF.exe (return code was 100) >>> >>> But the same NANT scripts when executed from command line, works >>> absolutely fine without any error. >>> >>> Is there anything that we have to do so that TFS related tasks do not >>> fail when called from CCNET. >>> >>> -- >>> Regards, >>> >>> Santhosh S Yalamuri >>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "ccnet-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ccnet-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Regards, > > Santhosh S Yalamuri > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ccnet-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "ccnet-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
