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

Reply via email to