Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Artifactory retrieve artifact action failing with permissions error



  • any idea why I would get this?
    The get source from subversion works just fine.

    Build 43 for Cusmod Linux 9.4.0 (25/07/2013 12:03:46 p.m.)
    Action Group 3: Initialise Client
    Action 3: Retrieve the /client/%CLIENT_PATH%/InstallCusmod-%CUSMOD_COUNTRY%-%CLIENT_VERSION%.exe artifact from the Cusmod repository to c:\temp
    Initializing action...
    Source and Target directory same; splitting.
    RemoteAction Initialization Complete:
    Temp Directory: C:\BuildMaster_SVCTMP_A3_S1012\TMP
    Source Directory: C:\BuildMaster_SVCTMP_A3_S1012\SRC
    Target Directory: C:\BuildMaster_SVCTMP_A3_S1012\WRK
    Server: DWDCW-DSAS01 (Id: 1)
    Initialization complete. Executing...
    Source Path: c:\temp
    Error retrieving the /client/9.4.0/376/InstallCusmod-CK-9.4.0.376.exe artifact in repository Cusmod. Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.UnauthorizedAccessException: Access to the path 'c:\temp' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at System.Net.WebClient.DownloadFile(Uri address, String fileName) --- End of inner exception stack trace --- at System.Net.WebClient.DownloadFile(Uri address, String fileName) at Inedo.BuildMasterExtensions.Artifactory.RetrieveArtifactAction.ProcessRemoteCommand(String name, String[] args)
    Execution complete. Finalizing...
    Target directory unused; joining with source.
    Finalization complete.



  • Based on the Action Configuration ("Retrieve the /client/%CLIENT_PATH%/InstallCusmod-%CUSMOD_COUNTRY%-%CLIENT_VERSION%.exe artifact from the Cusmod repository to c:\temp"), you entered "c:\temp" for the "File Name" property of the action.

    I assume "c:\temp" is an existing directory? This would cause an UnauthorizedAccessException.

    Try setting it to "C:\temp\file.exe" or something.



  • Have you done any perf. testing beweetn sqlite and sqlce 4? I run a website with very fast response times using sqlite but the write operations are defintely blocking to all readers. the site is about 80% read and 20% write. I was contemplating moving over to sqlce as our number of visitors have increased - lack of support for windows 8 has me a bit worried.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation