Access denied Error: Whilw copying content deployment from one webapplication to the second on the same server farm RRS feed

  • Question

  • I had two application

    1st : http://test-moss2:4444 (My site with data and content)

    2nd : http://test-moss2:1789 (New Blanksite on which i want to copy all the content of the 1st )

    I am trying to configure content deployment to copy all the structure as well as the content of the first web application to the second

    for this i had define the path and created a  new job

    Central Administration > Operations > Manage Content Deployment Paths and Jobs> new path

    I define a new path, i had given my source application :  http://test-moss2:4444 (My site with data and content)

    my central administration url is : http://test-moss2:48866/

    and my 2nd destination site url is :http://test-moss2:1789

    Then I define the Job

    In which i had select the entire site collection and <label for="ctl00_PlaceHolderMain_incrementalInputFormSection_fullDeployRadioButton">Deploy all content, including content that has been deployed before</label> and then as i test the job the test is succeeded but the job fails after few time

    and give the below error

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex) at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob) at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)


    Can Any one have the idea how can i make the exact copy of the 1st site on the same server , or can any one resolve this issue

    • Edited by Vkas Friday, December 9, 2011 6:05 AM
    Friday, December 9, 2011 6:03 AM


  • Your steps are correct. The error indicates that the farm account does not have write access to the file location the %TMP% environment variable of this farm account points to.
    Stefan Goßner
    Senior Escalation Engineer - Microsoft CSS
    This post is provided "AS IS" with no warrenties and confers no rights.
    • Marked as answer by Pengyu Zhao Friday, December 16, 2011 2:32 AM
    Friday, December 9, 2011 5:51 PM