Announcement

Collapse
No announcement yet.

AZCopy Issues

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • AZCopy Issues

    Morning all Happy Monday,

    So i have a mountain of data to move and well azcopy is the fastest way to get to blobs. I get the below error on 90% of folders i try it on. Once in a while Ill get a DIRECTORY that will copy but rarely. I am a Domain Admin and I am running the Command prompt as administrator. I am completely stumped on this



    Unhandled Exception: System.UnauthorizedAccessException: Access is denied. (Exce
    ption from HRESULT: 0x80070005 (E_ACCESSDENIED))
    at Microsoft.WindowsAzure.Storage.DataMovement.Intero p.NativeMethods.ThrowExc
    eptionForLastWin32ErrorIfExists(Int32 errorCode, Int32[] expectErrorCodes)
    at Microsoft.WindowsAzure.Storage.DataMovement.Transf erEnumerators.EnumerateD
    irectoryHelper.CheckPathDiscoveryPermission(String dir)
    at Microsoft.WindowsAzure.Storage.DataMovement.Transf erEnumerators.EnumerateD
    irectoryHelper.<InternalEnumerateFiles>d__2.MoveNe xt()
    at Microsoft.WindowsAzure.Storage.DataMovement.Transf erEnumerators.FileEnumer
    ator.<EnumerateLocation>d__8.MoveNext()
    at Microsoft.WindowsAzure.Storage.DataMovement.Multip leObjectsTransfer.ListNe
    wTransfers(CancellationToken cancellationToken)
    at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.DataMovement.Multip leObjectsTransfer.<Execu
    teAsync>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at Microsoft.WindowsAzure.Storage.DataMovement.Multip leObjectsTransfer.<Execu
    teAsync>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.DataMovement.Direct oryTransfer.<ExecuteAsyn
    c>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.DataMovement.Transf erManager.<DoTransfer>d_
    _73.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.DataMovement.Transf erManager.<UploadDirecto
    ryInternalAsync>d__70.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.AzCopy.DirectoryTra nsferLauncher.<UploadDir
    ectory>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.AzCopy.DirectoryTra nsferLauncher.<ExecuteIm
    plAsync>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.AzCopy.TransferLaun cherBase.<ExecuteAsync>d
    __14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNot
    ification(Task task)
    at Microsoft.WindowsAzure.Storage.AzCopy.BlobFileTran sfer.DoTransfer()
    at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.Execu teTransfer()
    at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.Execu te(String[] args)
    at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.Main( String[] args)

  • #2
    To me the first line is significant - you don't appear to have permission (probably at the source since you say some copy OK)
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment

    Working...
    X