title: MS Release Management- The remote server returned an error: (500) Internal Server Error
body: <p>I am getting the following error when i trigger a release from MS RM client. This error message is from Event Viewer of the target machine.</p>
  
  <pre><code>Message: The remote server returned an error: (500) Internal Server Error.: \r\n\r\n   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
     at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndDownloadString(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
     at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClient.EndGet(IAsyncResult asyncResult)
     at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.BaseDeploymentControllerServiceProxy.GetPackageFileInfos(String packageLocation)
     at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.HttpPackageDownloader.CopyPackageAndUnpackIt(String packageSourceLocation, String filesDestinationLocation)
     at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.CopyComponentFiles()
     at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.DeployComponent()
  </code></pre>
  
  <p>From the deployment log, I can see file copying component is getting failed.</p>
  
  <p>I am able to manually copy files from the RM server machine to a shared location in the target machine. The folder I have shared with the same user running the Deployment Agent and copying is working fine.</p>
  
  <p>Please see the Deployment log screen below.
  <img src="https://i.stack.imgur.com/Sz7D7.jpg" alt="Deployment Log screen">
  <br>I am expecting some positive responses from the experts.</p>