Share via


Content deployment remote upload Web request failed.

  •  

  • When you try to run a content deployment job you may receive a error "Content deployment job 'Media Deployment - Daily' failed. The remote upload Web request failed.”

  •  

  • You will get following error messages

  •  

  • In UI

  • 3/13/2012 12:49 PM Created Remote import job 'Remote import job for job with sourceID = xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx'.

  • 3/13/2012 12:49 PM Transporting exported content to the destination import server.

  • 3/13/2012 12:49 PM Content deployment job 'Media Deployment - Daily' failed.The remote upload Web request failed.

  • In ULS

  • 03/13/2012 12:49:52.81 OWSTIMER.EXE (0x0DD0) 0x1920 Web Content Management Content Deployment 4qf0 Unexpected ContentDeploymentJob.DoServerToServer(): Failed DoServerToServer() operation for Job 'Media Deployment - Daily'. Exception: 'System.Net.WebException: The remote server returned an error: (404) Not Found.

  • In IIS

  • Content+Deployment/DeploymentUpload.aspx filename=%22ExportedFiles9.cab%22&remoteJobId=%2291507d3c-f2b4-4aa5-84c8-62fd73f59d3d%22 19001 - 170.92.56.53 - 404 13 0 178 1039 218

  •  

  • If we look in IIS it talks about 404.13

  • 404.13 - Content length too large.

  • https://support.microsoft.com/kb/943891

  • In IIS7 there is a new setting maxAllowedContentLength (which is around 30 MB by default). For CD specific web.config we set the maxRequestLength property to 100MB, so we should also set this new setting to same value.

  • C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\ADMIN\Content Deployment

  • <configuration>

  • <system.web>

  • <httpRuntime maxRequestLength="102400" />

  • </system.web>

  • <system.webServer>

  • <security>

  • <requestFiltering>

  • <!-- maxAllowedContentLength is in bytes. -->

  • <requestLimits maxAllowedContentLength="104857600" />

  • </requestFiltering>

  • </security>

  • </system.webServer>

  • </configuration>

  • Eg.

  •        <!-- maxAllowedContentLength is in bytes. -->

  •       <requestLimits maxAllowedContentLength=" 524288000" />

Comments