Nevermind...I noticed that the folder under RSA named MachineKeys did
not inherit the permissions set on RSA for some reason. When I
explicited set MachineKeys permissions to Everyone Full Access,
CruiseControl.Net began working correctly.

Ruben...Daniel...Thanks for you help.

--Frank Prevatt

On Jul 27, 11:15 am, fprevatt <[email protected]> wrote:
> <cruisecontrol project="GetArchiveService">
>   <request source="continuous" buildCondition="ForceBuild">continuous
> triggered a build (ForceBuild)</request>
>   <modifications />
>   <integrationProperties>
>     <CCNetArtifactDirectory>C:\Program Files\CruiseControl.NET\server
> \GetArchiveService\Artifacts</CCNetArtifactDirectory>
>     <CCNetBuildCondition>ForceBuild</CCNetBuildCondition>
>     <CCNetBuildDate>2009-07-27</CCNetBuildDate>
>     <CCNetBuildTime>11:04:18</CCNetBuildTime>
>     <CCNetFailureUsers />
>     <CCNetIntegrationStatus>Exception</CCNetIntegrationStatus>
>     <CCNetLabel>UNKNOWN</CCNetLabel>
>     <CCNetLastIntegrationStatus>Exception</CCNetLastIntegrationStatus>
>     <CCNetListenerFile>C:\Program Files\CruiseControl.NET\server
> \GetArchiveService\Artifacts\GetArchiveService_ListenFile.xml</
> CCNetListenerFile>
>     <CCNetModifyingUsers />
>     <CCNetNumericLabel>0</CCNetNumericLabel>
>     <CCNetProject>GetArchiveService</CCNetProject>
>     <CCNetProjectUrl>http://IPC-REP001/ccnet</CCNetProjectUrl>
>     <CCNetRequestSource>continuous</CCNetRequestSource>
>     <CCNetWorkingDirectory>C:\Documents and Settings\<deleted>\My
> Documents\Visual Studio 2008\Projects\ArchiveService</
> CCNetWorkingDirectory>
>     <LastChangeNumber>0</LastChangeNumber>
>     <LastIntegrationStatus>Exception</LastIntegrationStatus>
>     <LastSuccessfulIntegrationLabel>UNKNOWN</
> LastSuccessfulIntegrationLabel>
>     <LastModificationDate>7/26/2009 11:06:31 AM</LastModificationDate>
>   </integrationProperties>
>   <build date="2009-07-27 11:04:18" buildtime="00:02:12"
> buildcondition="ForceBuild" />
>   <exception><![CDATA
> [ThoughtWorks.CruiseControl.Core.CruiseControlException: Source
> control operation failed:
> Unhandled Exception:
> System.Security.Cryptography.CryptographicException: Keyset does not
> exist
>
>    at
> System.Security.Cryptography.CryptographicException.ThrowCryptogaphicExcept­ion
> (Int32 hr)
>    at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr
> pProvCtx)
>    at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()
>    at System.Runtime.InteropServices.SafeHandle.InternalFinalize()
>    at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean
> disposing)
>    at System.Runtime.InteropServices.SafeHandle.Finalize()
> . Process command: C:\Program Files\SourceGear\Fortress Client
> \vault.exe versionhistory $/ArchiveService -rowlimit 1 -host localhost
> -user <deleted> -password <deleted> -repository "ipConfigure 5_0 Code"
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute
> (ProcessInfo processInfo)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault3.ExecuteWithRetries
> (ProcessInfo processInfo)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetFolderVersion
> (IIntegrationResult from, IIntegrationResult to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.LookForChangesUsingV­ersionHistory
> (IIntegrationResult from, IIntegrationResult to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vault317.GetModifications
> (IIntegrationResult from, IIntegrationResult to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.GetModifi­cations
> (IIntegrationResult from, IIntegrationResult to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications
> (ISourceControl sourceControl, IIntegrationResult lastBuild,
> IIntegrationResult thisBuild)
>    at
> ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications
> (IIntegrationResult from, IIntegrationResult to)
>    at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate
> (IntegrationRequest request)]]></exception>
> </cruisecontrol>
>
> On Jul 27, 10:53 am, Daniel Nauck <[email protected]> wrote:
>
>
>
> > Hello,
>
> > can you please provide the full stacktrace of the exception.
>
> > There're also a lot of posts about the error message:
>
> >http://social.msdn.microsoft.com/Forums/en-US/windowscardspace/thread......
>
> > Daniel
>
> > fprevatt schrieb:
>
> > > Set permissions on the folder...no effect. Still get the same error
> > > message.
>
> > > I can get latest version and build the project on the server inside of
> > > Visual Studio w/ no problem...just cannot get CruiseControl to do it.
>
> > > --Frank Prevatt
>
> > > On Jul 25, 7:11 am, Ruben Willems <[email protected]> wrote:
>
> > >> Hi
>
> > >> 'C:\Documents and Settings\UserName\Application 
> > >> Data\Microsoft\Crypto\RSA'
>
> > >> give this folder 'everyone full access'
>
> > >> that should do it
>
> > >> with kind regards
> > >> Ruben Willems
>
> > >> On Fri, Jul 24, 2009 at 11:28 PM, fprevatt 
> > >> <[email protected]>wrote:
>
> > >>> I have setup cruisecontrol to successfully build on my development
> > >>> server. I am now trying to move it to our build server (which is also
> > >>> our repository server). I have changed the config file accordingly,
> > >>> but I am getting an error on the build server when it tries to access
> > >>> Fortress. Here is a sample project I am trying to run:
>
> > >>>    <project name="GetArchiveService" queue="GetQueue">
> > >>>        <!-- Monitors ArchiveService for changes! -->
> > >>>        <workingDirectory>C:\Documents and Settings\<deleted>\My
> > >>> Documents\Visual Studio 2008\Projects\ArchiveService</
> > >>> workingDirectory>
> > >>>        <category>ESM 5.0</category>
> > >>>        <modificationDelaySeconds>2</modificationDelaySeconds>
> > >>>        <maxSourceControlRetries>5</maxSourceControlRetries>
> > >>>        <initialState>Started</initialState>
> > >>>        <startupMode>UseInitialState</startupMode>
> > >>>        <triggers>
> > >>>            <intervalTrigger name="continuous" seconds="1800"
> > >>> buildCondition="IfModificationExists" initialSeconds="30"/>
> > >>>        </triggers>
> > >>>        <state type="state" directory="C:\CCTest" />
> > >>>        <sourcecontrol type="vault" autoGetSource="true"
> > >>> applyLabel="false">
> > >>>            <executable>C:\Program Files\SourceGear\Fortress Client
> > >>> \vault.exe</executable>
> > >>>            <username><deleted></username>
> > >>>            <password><deleted></password>
> > >>>            <host>localhost</host>
> > >>>            <repository>ipConfigure 5_0 Code</repository>
> > >>>            <folder>$/ArchiveService</folder>
> > >>>            <useWorkingDirectory>true</useWorkingDirectory>
> > >>>            <workingDirectory>C:\Documents and Settings\<deleted>\My
> > >>> Documents\Visual Studio 2008\Projects\ArchiveService</
> > >>> workingDirectory>
> > >>>        </sourcecontrol>
> > >>>        <publishers>
> > >>>            <xmllogger />
> > >>>        </publishers>
> > >>>    </project>
>
> > >>> I just want the project to get latest version from Fortress if
> > >>> anything has changed.
>
> > >>> It runs fine on my machine but when I try to run it on the build
> > >>> server, it fails with:
>
> > >>> ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control
> > >>> operation failed:
> > >>> Unhandled Exception:
> > >>> System.Security.Cryptography.CryptographicException: Keyset does not
> > >>> exist
>
> > >>> Any help would be appreciated.- Hide quoted text -
>
> > >> - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to