CompileMOFFile: Failed to compile MOF, Failed to install SMS Provider - Steve Gould

15-Feb-08 02:22:31
I spent a couple days with the following issues. I have resolved them now,
but I wanted to post my findings to help out others who may run into the
same issue.

Situation:

Installing SCCM 2007 on own servers
Separate SQL 2005 Server
SQL Server services run under a domain service account


Prior to set up I found the reference in the SCCM 2007 install docs that say
in this situation to register SPN's.

http://technet.microsoft.com/en-us/library/bb632649.aspx
and
http://technet.microsoft.com/en-us/library/bb735885.aspx

SPN's are registered such:

setspn -A MSSQLSvc/<SQL Server computer name>:1433 <Domain\Account>.
setspn -A MSSQLSvc/<SQL Server computer name.domain-name (FQDN)>:1433

I did so. I used ADSIEdit to verify. The above commands didn't actually
register the SPN's correctly, but I was able to correct them via ADSIEdit.
This didn't work though.

Running the prerequisite checks found no errors, but the install came up
with the following:

CompileMOFFile: Failed to compile MOF C:\Program Files\Microsoft
Configuration Manager\bin\i386\smsRprt.mof, error -2147217407
Setup cannot compile MOF file C:\Program Files\Microsoft Configuration
Manager\bin\i386\smsRprt.mof.  Do you want to continue?
Setup failed to install SMS Provider.  For more information about this
error, see Microsoft Knowledge Base at http://microsoft.com or contact
Microsoft Technical Support for further assistance.

I spent 2 days trying to locate the answer. It finally dawned on me. The
setspn above calls out "MSSQLSvc". It should have noted to use your ACTUAL
SQL Server default or named instance service name. In my case it was SQL
2005 default instance service named "MSSQLService".

As soon as I corrected the SPN's via ADSIEdit the install of SCCM 2007
completed.

Steve
button
 
 

CompileMOFFile: Failed to compile MOF, Failed to install SMS Provider - Kim Oppalfens [MVP]

07-Mar-08 05:37:05
Thanks for sharing!

--
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
button
 
SCCM Setup Check Fails