Hello,
I am trying to configure a project to use VSS. I have had a good deal
of experience using CCNET with SVN, but this is my first go at using
SourceSafe.
I am running Visual SourceSafe 8.0.50727.42 on Server 2003 and can
connect using Visual SourceSafe Explorer through a VPN to a VSS
database (that's in another state) which also running the same
version. I can also connect through the VS 2008 IDE. I do not manage
the VSS database and when I was given read access I was not given a
password.
So, I can connect and do a successful, albeit extremely slow, get
through the VSS and VS 2008 GUI's.
The problem starts when I try to have CCNET connect. I am running
CCSERVICE as a logged in user (not LSA). The error that I keep seeing
is that 'srcsafe.ini' cannot be found. I have tried the <ssdir>
element with and without quotes, and I have also created an
environment variable named 'SSDIR' and set its value 'R:\dotnet2'.
From the error message, it appears that the value I have created for
SSDIR is not being passed to SS.EXE.
Is this a VPN issue? Is it related to not having a password?
Thank you,
Zach
-- Here is my SourceControl configuration:
<sourcecontrol type="vss" autoGetSource="true">
<executable>C:\Program Files\Microsoft Visual SourceSafe\ss.exe</
executable>
<project>$/MyProject</project>
<username>MyUserName</username>
<password/>
<ssdir>"R:\dotnet2\"</ssdir>
<workingDirectory>D:\ccnet\WorkingDirectory\MyProject.Continuous
\</workingDirectory>
<cleanCopy>true</cleanCopy>
<culture>en-US</culture>
</sourcecontrol>
-- Here is the environment variable I have created:
C:\Documents and Settings\spiderman>echo %SSDIR%
R:\dotnet2\
-- And here is the error I keep getting:
2008-10-01 17:09:16,890 [MyProject.Continuous:ERROR] Exception: Source
control operation failed: No VSS database (srcsafe.ini) found. Set
the SSDIR environment variable to the path of srcsafe.ini for your VSS
database.
. Process command: C:\Program Files\Microsoft Visual SourceSafe\ss.exe
history $/MyProject -R -Vd10/1/2008;5:09p~9/30/2008;5:08p -
YMyUserName, -I-Y
----------
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control
operation failed: No VSS database (srcsafe.ini) found. Set the SSDIR
environment variable to the path of srcsafe.ini for your VSS database.
. Process command: C:\Program Files\Microsoft Visual SourceSafe\ss.exe
history $/MyProject -R -Vd10/1/2008;5:09p~9/30/2008;5:08p -
YMyUserName, -I-Y
at
ThoughtWorks
.CruiseControl
.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo
processInfo)
at
ThoughtWorks
.CruiseControl
.Core.Sourcecontrol.ProcessSourceControl.GetModifications(ProcessInfo
info, DateTime from, DateTime to)
at
ThoughtWorks
.CruiseControl
.Core.Sourcecontrol.Vss.GetModifications(IIntegrationResult from,
IIntegrationResult to)
at
ThoughtWorks
.CruiseControl
.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl
sourceControl, IIntegrationResult lastBuild, IIntegrationResult
thisBuild)
at
ThoughtWorks
.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest
request)
at
ThoughtWorks.CruiseControl.Core.Project.Integrate(IntegrationRequest
request)
at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Integrate()
at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Run()