Recommended Posts

Hi, i'm trying to backup the full my SharePoint Server using the stsadm tool on a bat file and it returns me an error.

Here's the bat file.

  Quote
@echo off

echo ===============================================================

echo Back up sites for the farm to D:\BackupProject

echo ===============================================================

cd \Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

@echo off

stsadm.exe -o backup -directory "D:\BackupProject" -backupmethod full -overwrite

echo completed

And here's the error on the log.

  Quote
[17/06/2008 09:37:33]: Error: Object 72357482-b050-4b19-baba-faa6696d160b failed in event OnBackupComplete. For more information, see the error log located in the backup directory.

Object 72357482-b050-4b19-baba-faa6696d160b failed in event OnBackup. For more information, see the error log located in the backup directory.

InvalidOperationException: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {629DA12E-9AD5-4FEC-B886-42C5982C5109} failed due to the following error: 80070005.

at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)

at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType)

at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)

at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)

at Microsoft.SharePoint.Search.Administration.Gatherer.get_AdminObject()

at Microsoft.SharePoint.Search.Administration.Gatherer.EnsureComServer()

at Microsoft.SharePoint.Search.Administration.GathererApplication.get_ApplicationObject()

at Microsoft.SharePoint.Search.Administration.GathererApplication.PauseMainCatalog(GathererPauseReason reason)

at Microsoft.SharePoint.Search.Administration.SPSearchBackupRestoreTimerJob.Execute(Guid targetInstanceId)

InvalidOperationException: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {629DA12E-9AD5-4FEC-B886-42C5982C5109} failed due to the following error: 80070005.

at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)

at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType)

at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)

at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)

at Microsoft.SharePoint.Search.Administration.Gatherer.get_AdminObject()

at Microsoft.SharePoint.Search.Administration.Gatherer.EnsureComServer()

at Microsoft.SharePoint.Search.Administration.GathererApplication.get_ApplicationObject()

at Microsoft.SharePoint.Search.Administration.GathererApplication.ResumeMainCatalog(GathererPauseReason reason)

at Microsoft.SharePoint.Search.Administration.SPSearchBackupRestoreTimerJob.Execute(Guid targetInstanceId)

[17/06/2008 09:37:33]: Debug: at Microsoft.SharePoint.Search.Administration.SearchBaseBackupRestoreTimerJob.WaitTimerJobComplete(SPFarm farm, Guid id, SPRestoreInformation args, Int32 finalProgress, Boolean bWaitStartLongOperation)

at Microsoft.SharePoint.Search.Administration.SearchBaseBackupRestoreTimerJob.CreateJobAndWaitForCompletion(SearchBaseBacku

pRestoreTimerJob job)

at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Microsoft.SharePoint.Administration.Backup.IBackupRes

tore.OnBackupComplete(Object sender, SPBackupInformation args)

[17/06/2008 09:37:33]: Verbose: Starting object: WSS_Search_HDIINFRA_184d7f9e4b4a4384ab5e56a3abd89165.

[17/06/2008 09:37:34]: Hor?rio de t?rmino: 17/06/2008 09:37:34.

Any help is very much appreciated.

Thanks!

Link to comment
https://www.neowin.net/forum/topic/643777-backing-up-sharepoint-server-2007/
Share on other sites

First thing I would do since the error is being spit out about CLSID {629DA12E-9AD5-4FEC-B886-42C5982C5109} is search the registry for that value to determine which component that is registered to that.

I just did that on my Sharepoint server here and it comes up as the Windows Sharepoint Services Search Gathering Manager. It's throwing out a numerical error code as well: 80070005. A quick search leads to people mentioning that the launch permissions in DCOM need to be changed so load up Component Services and expand component services and your computer then DCOM config.

Find SPSearch in the list and go to properties.

Under the security tab use custom Launch and Activation Permissions and add the user that your Sharepoint is running under and give it local launch and local activation permissions.

I had a similar error that was fixed by this. Let me know if it works.

  sunami said:
First thing I would do since the error is being spit out about CLSID {629DA12E-9AD5-4FEC-B886-42C5982C5109} is search the registry for that value to determine which component that is registered to that.

I just did that on my Sharepoint server here and it comes up as the Windows Sharepoint Services Search Gathering Manager. It's throwing out a numerical error code as well: 80070005. A quick search leads to people mentioning that the launch permissions in DCOM need to be changed so load up Component Services and expand component services and your computer then DCOM config.

Find SPSearch in the list and go to properties.

Under the security tab use custom Launch and Activation Permissions and add the user that your Sharepoint is running under and give it local launch and local activation permissions.

I had a similar error that was fixed by this. Let me know if it works.

great!!! it's working now.

thanks

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.