views:

448

answers:

2

I have set up a cruisecontrol.net build server. When running it in console mode it works fine, but when trying to run it as a windows service it doesn't work. The log file shows the following message:

ThoughtWorks.CruiseControl.Core.CruiseControlException: 
Source control operation failed: No VSS database (srcsafe.ini) found.  
Use the SSDIR environment variable or run netsetup.

The ssdir is set in ccnet.config, so what am I missing here?

+7  A: 

Hello,

Not sure if it's applicable but when I had problems switching between the Console version and the Service version it was down to access rights for the user I was starting the service as.

Perhaps the Service does not have access rights to the srcsafe.ini file and your account does(assuming that's what your using to run the console).

Apologies if I'm way off the mark, just trying to help!

David A Gibson
Thanks for the hint that worked for me :)
alex esser
Couldn't vote this as helpful cause of low reputation; sorry :(
alex esser
No problem - glad it worked for you!
David A Gibson
@alex esser +1 now you're able to vote :D
alexandrul
+1  A: 

I ran into similar issues when setting up our CI environment at work. If you can get log-in permissions for the service account you are using, you can log in as that account and run CC.NET via the console and debug your issues.

Babak Naffas