Hi,
DPM 2012 RU3 + SharePoint 2010 SP1,
I'm able to navigate throug protected content dbs, site collections, sites, lists...
I'm able to trigger a recovery of, say, a single document.
The recovery fails with this message on the critical alert:
DPM was unable to export the item [http://.......] from the content databse [....]. Exception Message = Object reference not set to an instance of an object (ID 32017 Details: Invalid pointer (0x80004003))
The WssCmdletsWrapperCurr.errlog file shows that the agent is able to SQL-attach the contentdb and prepares the sharepoint export from unattached database phase, on the client:
3B74 45D4 02/07 09:46:12.315 03 sharepointutils.cpp(72) NORMAL Found WSS 4 installation 3B74 45D4 02/07 09:46:14.733 31 WSSCmdlets.cs(1350) NORMAL Successfully added UnAttachedContentDatabase [<server\instance>\DPM_2f822bb1_400f_42fb_8e9d_cd315a71569c]. 3B74 45D4 02/07 09:46:14.749 31 WSSCmdlets.cs(419) NORMAL Triggering Export of Source Url = http://<full-url-to-document>.doc to File = D:\Temp\DPM_2f822bb1_400f_42fb_8e9d_cd315a71569c\cmp\ 3B74 45D4 02/07 09:46:15.014 31 WssExportHelper.cs(128) NORMAL Export Parameters:- SourceUrl = [http://<full-url-to-document>.doc], ExportFilePath = [D:\Temp\DPM_2f822bb1_400f_42fb_8e9d_cd315a71569c\cmp], ExportFileName = [], RoType = [ListItem], IsAlternateUrl = [False] 3B74 45D4 02/07 09:46:15.014 31 WssExportHelper.cs(134) NORMAL Export Parameters:- Unattached Database :: [<server/instance>\DPM_2f822bb1_400f_42fb_8e9d_cd315a71569c] 3B74 45D4 02/07 09:46:16.402 31 WssExportHelper.cs(310) NORMAL Source url : [http://<full-url-to-document>.doc] , HostHeaderIsSiteName = False 3B74 45D4 02/07 09:46:16.418 31 WSSObjectModelHelper.cs(103) NORMAL Modified Source Url = http://<url-to-doc-with-hostheader-set-to-administration-webapp>.doc 3B74 45D4 02/07 09:46:16.668 09 AppAssert.cs(114) WARNING ASSERT: (FileName:WSSObjectModelHelper.cs; LineNumber:494) 3B74 45D4 02/07 09:46:16.668 09 AppAssert.cs(114) WARNING The parameter 'spSiteCollection' is null. 3B74 45D4 02/07 09:46:16.668 31 WSSCmdlets.cs(451) WARNING Caught Exception while trying to export Url [http://full-url-to-document.doc] to File [D:\Temp\DPM_2f822bb1_400f_42fb_8e9d_cd315a71569c\cmp\]. 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1269) WARNING -------------------------------------------------- 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1270) WARNING Exception Message = 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1270) WARNING Object reference not set to an instance of an object. 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING Exception Stack = 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at WSSCmdlets.CWssExportHelper.GetExportSettingsForUnattachedRecovery(SPContentDatabase spUnAttachedContentDatabase, String sourceUrl, Boolean isHostNamedSiteCollection, String exportPath) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at WSSCmdlets.CWssExportHelper.GetExportSettings(String sourceUrl, String exportPath, String exportFileName, ComponentTypeType roType, SPContentDatabase spUnAttachedContentDatabase, Boolean isAlternateURLRecovery) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at WSSCmdlets.CWssExportHelper.ExportUrlDelegate() 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1271) WARNING at WSSCmdlets.CWSSCmdlets.ExportUrl(String sourceUrl, String exportPath, String exportFileName, String roType, Boolean isAlternateURLRecovery, Int32& hr, String& exceptionMessage) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1272) WARNING Inner Exception = 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING Exception String = 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING System.NullReferenceException: Object reference not set to an instance of an object. 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at WSSCmdlets.CWssExportHelper.GetExportSettingsForUnattachedRecovery(SPContentDatabase spUnAttachedContentDatabase, String sourceUrl, Boolean isHostNamedSiteCollection, String exportPath) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at WSSCmdlets.CWssExportHelper.GetExportSettings(String sourceUrl, String exportPath, String exportFileName, ComponentTypeType roType, SPContentDatabase spUnAttachedContentDatabase, Boolean isAlternateURLRecovery) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at WSSCmdlets.CWssExportHelper.ExportUrlDelegate() 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1273) WARNING at WSSCmdlets.CWSSCmdlets.ExportUrl(String sourceUrl, String exportPath, String exportFileName, String roType, Boolean isAlternateURLRecovery, Int32& hr, String& exceptionMessage) 3B74 45D4 02/07 09:46:16.683 31 WSSCmdlets.cs(1274) WARNING --------------------------------------------------
So maybe the "The parameter spSiteCollection is null" could be the culprit, but not sure. the exception stacks do not say much so I'm quite lost. As far as I can see in the logs, the agent is able to identify the target url (so webapp and URI are correctly shown)
I have checked the target directory on the WFE, an empty DPM_{GUID} is left out after every recovery failure, so it is not a problem of write rights on this folder.
I have also checked the sp vss writer, re-run the configuresharepoint.exe -enablesharepointprotection using the farm account, restarted the sp vss writer service.
I have checked the rights on the \\wfe\mtatempstore$ folder for DPMRADCOMTrustedMachines, it has full rights.
Since some days, we are having these alerts, along with a [Closed] alert about 1h30 after the initial alert:
DPM failed to obtain catalog information as part of the backup for <sp_config_db> on <servername>. Your recovery point is valid, but you cannot perform granular recoveries using this recovery point.
, however we are able to navigate through the recovery points up to the item level, so I guess that we're facing two different problems, but not completely sure. The sharepoint catalog tasks on the dpm console show no errors and take between 5 and 50 minutes.
Any suggestion would be very welcome
Regards