NAnt authorization access issue
        Posted  
        
            by Luís Custódio
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Luís Custódio
        
        
        
        Published on 2010-05-18T13:31:09Z
        Indexed on 
            2010/05/18
            16:51 UTC
        
        
        Read the original article
        Hit count: 436
        
I'm having a problem trying to move a file through my network, I want to transfer the release from my continuos integration virtual machine to the host of this VM. but i get this:
System.UnauthorizedAccessException: Access to the path '\\192.168.0.36\E$\WebApps\MyProgram' is denied.
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
  at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
  at NAnt.Core.Tasks.MoveTask.DoFileOperations()
  at NAnt.Core.Tasks.CopyTask.ExecuteTask()
  at NAnt.Core.Task.Execute()
  at NAnt.Core.Target.Execute()
  at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
  at NAnt.Core.Project.Execute()
  at NAnt.Core.Project.Run()
I'm trying to transfer from a Windows Server 2003 R2 to a Windows Server 2008 R2.
© Stack Overflow or respective owner