Hi just for test
can you set the user of ccnet to your windows user if that solves it, there is still some setting missing in the rights of the ccnet user with kind regards Ruben Willems On Mon, Jun 8, 2009 at 3:07 PM, urbansnap<[email protected]> wrote: > > Ruben, > I'm laughing here because I had that problem too initially: > > ThoughtWorks.CruiseControl.Core.CruiseControlException: Source > control operation failed: Access to file "\\MyServer\VSSDB > \srcsafe.ini" denied No VSS database (srcsafe.ini) found. Set the > SSDIR environment variable to the path of srcsafe.ini for your VSS > database. > > I solved it by creating a new user account and giving it the same > permissions that I had. I then went to Administrative Tools -> > Services -> CruiseControl.net service -> LogOn tab and set the logon > to that new user. That eliminated the Access denied error but led to > the invalid handle error. > > -Adam > > > > On Jun 8, 8:36 am, Ruben Willems <[email protected]> wrote: >> Hi >> >> the user running the serice must have access to the share mentioned, >> so localsystem account probably does not >> >> with kind regards >> Ruben Willems >> >> >> >> On Mon, Jun 8, 2009 at 2:17 PM, urbansnap<[email protected]> wrote: >> >> > Ruben, >> > CCNet is running as a service. Immediately after your message I tried >> > running it from console and it worked. So what is different? >> >> > Thanks, >> > Adam >> >> > Here are the relevant excerpts from config: >> >> > <cb:define CCNetBuildPath="C:\build" /> >> > <cb:define CCNetWorkingDirectory="$(CCNetBuildPath) >> > \workingDirectory" /> >> > <cb:define CCNetArtifactDirectory="$(CCNetBuildPath)\buildOutput" /> >> > <cb:define SSDBPath="\\vssbox\VSSDB" /> >> > <cb:define SSUsername="username" /> >> > <cb:define SSPassword="password" /> >> > <cb:define SSPath="C:\Program Files\Microsoft Visual SourceSafe >> > \SS.EXE" /> >> >> > <vss> >> > <executable>$(SSPath)</executable> >> > <project>$/src/MyProject</project> >> > <username>$(SSUsername)</username> >> > <password>$(SSPassword)</password> >> > <ssdir>$(SSDBPath)</ssdir> >> > <applyLabel>true</applyLabel> >> > <autoGetSource>true</autoGetSource> >> > <alwaysGetLatest>false</alwaysGetLatest> >> > <workingDirectory>$(CCNetWorkingDirectory)\MyProject</ >> > workingDirectory> >> > <culture>en-US</culture> >> > <cleanCopy>true</cleanCopy> >> > <timeout units="minutes">10</timeout> >> > </vss> >> >> > On Jun 8, 8:08 am, Ruben Willems <[email protected]> wrote: >> >> Hi >> >> >> ° can you post your source control config? >> >> ° are you running ccnet as a service? >> >> >> with kind regards >> >> Ruben Willems >> >> >> On Mon, Jun 8, 2009 at 2:06 PM, urbansnap<[email protected]> wrote: >> >> >> > Hey, I am a new CCnet user. I've been able to get it working on my >> >> > local dev box. I am now trying to deploy it to a server but I'm >> >> > having a massive headache I keep getting exceptions from CCNet/ >> >> > SourceSafe. No matter what I do on the server I get the following >> >> > error: >> >> >> > ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control >> >> > operation failed: Invalid handle. >> >> > No VSS database (srcsafe.ini) found. Set the SSDIR environment >> >> > variable to the path of srcsafe.ini for your VSS database. >> >> >> > I tried using SS from the command line as a sanity check. It seems to >> >> > connect to SS fine. I've tried setting SSDIR. I've also tried to set >> >> > it in the VSS xml block. Neither has any luck in CCNet. I have also >> >> > validated my config file. >> >> >> > Any ideas? >> >> >> > Thanks, >> >> > Adam >
