Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    artifactoryerror
    3 Posts 1 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          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.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation