none
Error ID 32017 with error code: 0x80004003 when restoring SharePoint document RRS feed

  • Question

  • Hi everyone. I try to restore a backuped version of a sharepoint document.

    I tryed a In-place restoration via an intermediate SQL server. It fails with this message:

    The recovery jobs for SharePoint Farm Sharepoint Farm\<SERVER>\Config> that started at <DATE>, with the destination of <SERVER.DOMAIN.LOCAL>, have completed. Most or all jobs failed to recover the requested data. (ID 3111)
    
    	DPM was unable to export the item http://<SERVER>/my/personal/<USER>/Shared Documents/<MYDOCUMENT>.zip from the content database <SERVER>\<SQLINSTANCE>\<CONTENTDATABASE> Exception Message = <nativehr>0x80004003</nativehr><nativestack></nativestack>. (ID 32017 Details : Invalid Pointer (0x80004003))
    
    	

    When I looked the WssCmdletWrapperCurr.errlog, I saw this:

    NORMAL	Successfully added UnAttachedContentDatabase [<SERVERNAME>\<SQLINSTANCE>\DPM_416f541c_1904_427c_be93_baac53ea5d93].
    
    NORMAL	Triggering Export of Source Url = http://<SERVER>/my/personal/<USERNAME>/Shared Documents/<DOCUMENT>.zip to File = E:\tmp\TMPDPM\DPM_416f541c_1904_427c_be93_baac53ea5d93\cmp\
    
    NORMAL	Export Parameters:- SourceUrl = [http://<SERVER>/my/personal/<USERNAME>/Shared Documents/<DOCUMENT>.zip], ExportFilePath = [E:\tmp\TMPDPM\DPM_416f541c_1904_427c_be93_baac53ea5d93\cmp], ExportFileName = [], RoType = [ListItem]
    
    NORMAL	Export Parameters:- Unattached Database :: [<INTERMEDIATESQLSERVER>\<SQLINSTANCE>\DPM_416f541c_1904_427c_be93_baac53ea5d93]
    
    NORMAL	Source url : [http://<SERVER>/my/personal/<USERNAME>/Shared Documents/<DOCUMENT>.zip] , HostHeaderIsSiteName = False
    
    NORMAL	Modified Source Url =http://<SERVER>:4500/my/personal/<USERNAME>/Shared Documents/<DOCUMENT>.zip
    
    NORMAL	Triggering Export of ListItem = http://<SERVER>:4500/my/personal/<USERNAME>/Shared Documents/<DOCUMENT>.zip
    
    WARNING	The specified Folder Url [http://<SERVER>:4500/my/personal/<USERNAME>/Shared Documents/] is absent in the database
    
    WARNING	Caught Exception while trying to export Url [http://<SERVER>/my/personal/<USERNAME>/Shared Documents/<DOCUMENT>.zip] to File [E:\tmp\TMPDPM\DPM_416f541c_1904_427c_be93_baac53ea5d93\cmp\].
    
    WARNING	--------------------------------------------------
    
    WARNING	Exception Message =
    
    WARNING	Source Url is Absent
    
    WARNING	Exception Stack  =
    
    WARNING	 à WSSCmdlets.CWssExportHelper.AddExportObjectsForListItem(SPExportSettings spExportSettings, String sourceUrl)
    
    WARNING	 à WSSCmdlets.CWssExportHelper.SpecifyExportObjectsIfRequired(SPExportSettings spExportSettings, String sourceUrl, ComponentTypeType roType)
    
    WARNING	 à WSSCmdlets.CWssExportHelper.GetExportSettings(String sourceUrl, String exportPath, String exportFileName, ComponentTypeType roType, SPContentDatabase spUnAttachedContentDatabase)
    
    WARNING	 à WSSCmdlets.CWssExportHelper.ExportUrlDelegate()
    
    WARNING	 à Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
    
    WARNING	 à Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
    
    WARNING	 à Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
    
    WARNING	 à Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
    
    WARNING	 à WSSCmdlets.CWSSCmdlets.ExportUrl(String sourceUrl, String exportPath, String exportFileName, String roType, Int32& hr, String& exceptionMessage)
    
    WARNING	Inner Exception  =
    
    WARNING	Exception St
    
    

     

    My Administration website is hosted on port 4500.  If I read well, it seems that DPM try to mount the content database on the central administration site, then failed to export the document to restore.

    Is this normal? Am I missed something? What should I do to resote successfully?

    Thanks in advance.

    Romain K

    Thursday, August 19, 2010 1:43 PM

Answers

  • Hello Romain,

    DPM does a few things in a SharePoint restore.  During a SharePoint restore, DPM copies the entire ContentDB to the Recvoery Farm.  Once this completes it restores it into SQL.  Then stored procedures from SQL kick off.  These stored procedures create a .CMP file in the location that you specified on the Recovery Farm.  The .CMP file is a change file that is used by SharePoint to import and export items out of the farm.

    Once the .CMP file is created, it is copied over to the production farm and the information is extracted from it that you are trying to restore.

    During the restore, do you ever see the directory that you specify in the recovery populated with the .CMP file?  If not then your problem lies on teh recovery farm.  This long winded answer gets us in teh ballpark of where we need to be looking.

    If I am reading the error correctly, it looks like the source URL is missing on your recovery farm; meaning that http://<app_name>:4500 is not created correctly on the Recovery Farm.  If it came from there on the production farm, that needs to be created on the recovery farm so the .CMP file can be built correctly to pull the data out once it gets onto the production farm.

    My advice is to mirror the application layout on the recovery farm so it matches exactly the production farm; especially if you have any custom templates created for site creation!

    I hope this helps!  SharePoint recoveries, if they are failing, can be tricky!


    Walt W [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, August 19, 2010 2:17 PM
    Moderator

All replies

  • Hello Romain,

    DPM does a few things in a SharePoint restore.  During a SharePoint restore, DPM copies the entire ContentDB to the Recvoery Farm.  Once this completes it restores it into SQL.  Then stored procedures from SQL kick off.  These stored procedures create a .CMP file in the location that you specified on the Recovery Farm.  The .CMP file is a change file that is used by SharePoint to import and export items out of the farm.

    Once the .CMP file is created, it is copied over to the production farm and the information is extracted from it that you are trying to restore.

    During the restore, do you ever see the directory that you specify in the recovery populated with the .CMP file?  If not then your problem lies on teh recovery farm.  This long winded answer gets us in teh ballpark of where we need to be looking.

    If I am reading the error correctly, it looks like the source URL is missing on your recovery farm; meaning that http://<app_name>:4500 is not created correctly on the Recovery Farm.  If it came from there on the production farm, that needs to be created on the recovery farm so the .CMP file can be built correctly to pull the data out once it gets onto the production farm.

    My advice is to mirror the application layout on the recovery farm so it matches exactly the production farm; especially if you have any custom templates created for site creation!

    I hope this helps!  SharePoint recoveries, if they are failing, can be tricky!


    Walt W [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, August 19, 2010 2:17 PM
    Moderator
  • Hi, thanks for your answer. 

    I'm using an In-place restoration without using a recovery farm, so recovery farm actually IS the backup farm. I don't think that is could be a Layouts directory issue.

    When restoring, a cmp folder appears during few seconds before disappearing. As long as I could see it, it was always empty. But I could see that my recovery SQL instance successfully restored the database.

     http://<app_name>:4500 is my Central Administration web app. This is not the web app where my document came from, is it normal that DPM try tu mount the restore SQL database within this web app?

     

     

    Thursday, August 19, 2010 2:39 PM
  • Hi Romain,

     

    did you ever got this working correctly ?

    I'm having the same issue when trying to restore an item in Sharepoint 2010 with DPM 2010.

    Tuesday, November 22, 2011 7:08 PM
  • HI Romain ,

    i have the same case , but the problem is i have two CAs in my Farm , the problem solved to my by stop central admin services for the othe CA using Manage services on the Server in the CA ,

    Does anyone solve this problem

    if it worked with you inform us (if you have two CAs)

    Friday, May 18, 2012 9:22 AM