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-retrospectives-interesting.html > -- 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-retrospectives-interesting.html
