Hi

are you running CCNet as as service?
if so, try running it as the console first, until it works.


When you got CCNet working, set the service to use the same account
as the one you use for the console.

This should get things working, or get better error reports



with kind regards
Ruben Willems

On Sat, Oct 11, 2008 at 11:57 AM, rhitam <[EMAIL PROTECTED]> wrote:

>
> Hi there ,
> I am new to cruisecontrol.net . I am trying to get   the source of a
> single project   from VSS and store it in a local location and compile
> it using an msbuild task (its a c#.net project) .Below is my
> ccnet.config  file :
>
>
> <cruisecontrol>
>   <project>
>      <name>CITest</name>
>      <triggers>
>         <intervalTrigger seconds="60" buildCondition="ForceBuild"/>
>      </triggers>
>      <sourcecontrol type="vss" autoGetSource="true"
> applyLabel="true">
>         <executable>"C:\Program Files\Microsoft Visual Studio\VSS
> \win32\SS.EXE"</executable>
>         <project>"$/3.2.1/Orchestra Product/Source/Binaries/
> OrchConference"</project>
>         <username>rhitabrata.sanyal</username>
>         <password/>
>         <ssdir>"C:\Program Files\Microsoft Visual Studio\VSS"</ssdir>
>         <workingDirectory>c:\dllsource\Orchconference</
> workingDirectory>
>         <culture>en-US</culture>
>         <cleanCopy>false</cleanCopy>
>      </sourcecontrol>
>      <tasks>
>         <msbuild>
>            <executable>C:\WINDOWS\Microsoft.NET\Framework
> \v2.0.50727\MSBuild.exe</executable>
>            <workingDirectory>C:\dllsource\OrchConference</
> workingDirectory>
>            <projectFile>OrchConference.sln</projectFile>
>            <buildArgs>/noconsolelogger /p:Configuration=Release /
> v:diag /fileLogger </buildArgs>
>            <targets>Build;Test</targets>
>            <timeout>900</timeout>
>            <logger>C:\CruiseControl.NET\server
> \ThoughtWorks.CruiseControl.MsBuild.dll</logger>
>         </msbuild>
>      </tasks>
>   </project>
> </cruisecontrol>
>
> the password element's inner text is blank as there is no password
> reqd ....
> the contents of my srcsafe.ini is as follows :
>
> ; Client srcsafe.ini
> ;
> ; Your Microsoft Visual SourceSafe Client installation uses this file
> to
> ; access a remote SourceSafe database on a network server. This file
> ; contains only one uncommented line: a #include statement containing
> the
> ; path to your network server's initialization file, SRCSAFE.INI. If
> this
> ; file does not contain such a line, add a #include statement
> containing
> ; the path to your network server's initialization file. For example:
> ; #include \\SRCSERVER\SRCSHARE\SS4\SRCSAFE.INI
> ;
>
>
>
> #include \\BLR-S-08\VSNET$\SRCSAFE.INI
>
>
> Now , if i try to  navigate  to   \\BLR-S-08\VSNET$ manually , the
> network path is not found ...  but if i log in to source safe from my
> machine with the correct username(and no password)  i can log in
> without any problem and view the source safe projects without  any
> problem ..  when i run  ccnet.exe ,  the server gives the following
> errors :
>
>
>
>
>
> 2008-10-11 15:11:15,249 [CITest:INFO] Project: 'CITest' is added to
> queue: 'CITest' in position 0.
> 2008-10-11 15:11:15,359 [CITest:INFO] Project: 'CITest' is first in
> queue: 'CITest' and shall start integration.
> 2008-10-11 15:11:15,359 [CITest:DEBUG] Starting process [C:\Program
> Files\Microsoft Visual Studio\VSS\win32\SS.EXE] in working directory
> [c:\dllsource\Orchconference] with arguments [history "$
> \3.2.1\Orchestra Product\Source\Binaries\OrchConference" -R -
> Vd10/11/2008;3:11p~10/10/2008;2:02p -Yrhitabrata.sanyal, -I-Y "[EMAIL 
> PROTECTED]:
> \Documents and Settings\rhitabrata.sanyal\Local Settings\Temp
> \tmpAB.tmp"]
> 2008-10-11 15:11:16,343 [CITest:DEBUG] Network not found.
> 2008-10-11 15:11:16,359 [CITest:ERROR] Exception: Source control
> operation failed: Network not found.
> . Process command: C:\Program Files\Microsoft Visual Studio\VSS
> \win32\SS.EXE history "$\3.2.1\Orchestra Product\Source\Binaries
> \OrchConference" -R -Vd10/11/2008;3:11p~10/10/2008;2:02p -
> Yrhitabrata.sanyal, -I-Y "[EMAIL PROTECTED]:\Documents and Settings
> \rhitabrata.sanyal\Local Settings\Temp\tmpAB.tmp"
> ----------
> ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control
> operation failed: Network not found.
> . Process command: C:\Program Files\Microsoft Visual Studio\VSS
> \win32\SS.EXE history "$\3.2.1\Orchestra Product\Source\Binaries
> \OrchConference" -R -Vd10/11/2008;3:11p~10/10/2008;2:02p -
> Yrhitabrata.sanyal, -I-Y "[EMAIL PROTECTED]:\Documents and Settings
> \rhitabrata.sanyal\Local Settings\Temp\tmpAB.tmp"
>   at
>
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo
> processInfo)
>   at
>
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vss.GetModifications(IIntegrationResult
> from, IIntegrationResult to, String tempOutputFileName)
>   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()
>
>
>
>
> any idea where i might be going wrong ?
>
>
> any help appreciated ,
>
> Regards ,
> Rhitam
>
>

Reply via email to