We are using DPM 2012 to backup our SharePoint 2010 farm using the SharePoint connector in DPM (not SQL backups). I ran the configuresharepoint.exe -enablesharepointprotection followed by configuresharepoint.exe -resolveallsqlaliases (we are using SQL aliases) on one of our Web Front End Servers as required. I then verified that the SharePoint VSS Writer service was Started and running under the account I had specified using configuresharepoint.exe.
I then proceeded to add the server to our SharePoint Protection Group. When I clicked on server to select the SharePoint farm, DPM threw up the following error:
DPM could not enumerate SQL Server instances using Windows Management Instrumentation on the protected computer dbserver.example.com
We are running Windows Server 2008 R2 and SQL Server 2008 R2 as our database server.
In order to fix the error:
- Login to your database server
- Open Command Prompt and browse to C:\Program Files (x86)\Microsoft SQL Server\100\Shared
- Run the command: mofcomp sqlmgmproviderxpsp2up.mof
You should see the following message:
Microsoft (R) MOF Compiler Version 6.2.9200.16398
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository…
Now go back to your DPM server and try to add your SharePoint farm. The error should no longer appear.