SharePoint 2007 backup failure 0xe000031a - Unable to query the team database metadata. Spaces in the name of "Shared Service Provider"

Article:TECH65799  |  Created: 2008-01-06  |  Updated: 2013-09-30  |  Article URL
Article Type
Technical Solution



There are many causes to the error 0xe000031a.  To determine the root cause, the failing job must be debugged. 

How to debug SharePoint jobs:


     Job log:

0xe000031a - Unable to query the team database metadata.  

Warning: "SSP1\Services-DB 1 (SHAREPOINT\ SharedServices1_DB)\ SharedServices1_DB" is a corrupt file. This file can not verify

      From the SPSWrapper log:

[11cc] 09/10/08 13:14:40 Command to be executed is :: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\stsadm.exe -o enumssp -title "SSP1"

[11cc] 09/10/08 13:14:43 Error in BackupSSP - running stsadm -o enumssp command :: Value cannot be null.  



This issue has been observed if there are spaces in the name of "Shared Service Provider"


1. As per technote TECH57124, check there are no spaces in the name of the "Shared Service Provider". (If spaces are present, check whether the hotfix 302982 is applied)

2. If running MOSS2007, open a command prompt and execute:

stsadm -o enumssp -title SSP1
For a detailed explanation of this command line please refer to
Backup Exec enumerates the SharePoint Farm using the tools provided from SharePoint application. If these tools generate an error outside of being called by Backup Exec then this needs to be resolved first, with assistance from the application's support resources, as appropriate.  The above command will only query the configuration: it does not make any changes.

3. If running MOSS2007, execute
stsadm -o setdefaultssp -title SSP1
Details about this command line are available at
Again, this command must execute without error: any errors should be troubleshot prior to continuing.  The above command will set the default Shared Services Provider to the SSP you specify: you do not have to change the default, the purpose is to check that the default can be set without error.

4. Once both of these commands execute successfully please refer to the related technotes for further troubleshooting.

Supplemental Materials


Unable to query the team database metadata

SourceError Code

Unable to query the team database metadata

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices