Hi Mark, I thought I had replied alreay here but can't see it now :-(
When you run CCNet from the command line you do so with the permissions you logged in with. However, when you install the service it is configured to use 'Local System'. One of the problems we had was when we tried to connect to our Subversion repository via https - which worked from the command line. The issue was that we could not accept the authentication certificate for the Local System user so the SVN operations failed. We also had problems accessing network shares etc. We created a domain level account with the appropriate permissions, logging into the server as that user, accessing the repository and accepting the certificate. Reconfiguring the service was straightforward and all has been well since. Hope this Helps Dave On Apr 7, 7:10 pm, Mark Levison <[email protected]> wrote: > Ok so if I run the service as the user that is normally logged into the > machine the problem goes away. Now we get a problem with Visual 2005 > complaining "the application data folder for visual studio could not be > created". I'm guessing that one of the enviroment varaiables that is part of > the users env is missing (MsDevDir, lib, include, vs80commontools). The > devenv block doesn't appear to have settings for these. Am I missing a > clever way to do this? > > Am I trying to solve the right problem? > > Cheers > Mark > > > > On Tue, Apr 7, 2009 at 11:56 AM, Mark Levison <[email protected]> wrote: > > ...when I run it as a service it can't find the srcsafe.ini > > > The Source Control block is as follows: > > > <sourcecontrol type="vss"> > > <project>$/EndorsementManager_Net</project> > > > <workingDirectory>C:\GLOBEXDOTNETVSS\ENDORSEMENTMANAGER_NET</workingDirectory> > > <timeout units="seconds">600</timeout> > > <ssdir>\\vss2\share2\GlobexDotNet</ssdir> > > </sourcecontrol> > > > I've proven that the ssdir variable is correctly set - by corrupting it and > > watching the build fail when the CruiseControl is running locally. What else > > can be different about CCNET running as a service. > > > Cheers > > Mark > > > Blog:http://www.notesfromatooluser.com/ > > Recent Entries: Agile/Scrum Smells: > >http://www.notesfromatooluser.com/2008/06/agilescrum-smells.html > > Agile Games for Making Retrospectives Interesting: > >http://www.notesfromatooluser.com/2008/10/agile-games-for-making-retr... > > -- > Cheers > Mark Levison > Blog:http://www.notesfromatooluser.com/ > Recent Entries: Agile/Scrum > Smells:http://www.notesfromatooluser.com/2008/06/agilescrum-smells.html > Agile Games for Making Retrospectives > Interesting:http://www.notesfromatooluser.com/2008/10/agile-games-for-making-retr...
