{"id":93,"date":"2012-08-21T11:32:56","date_gmt":"2012-08-21T11:32:56","guid":{"rendered":"http:\/\/techsupport.relyonsoft.in\/?p=93"},"modified":"2014-08-19T10:53:56","modified_gmt":"2014-08-19T10:53:56","slug":"sql-server-setup-failed-to-compile-the-managed-object-format-mof-file","status":"publish","type":"post","link":"https:\/\/relyonsoft.in\/techsupport\/sql-server-setup-failed-to-compile-the-managed-object-format-mof-file\/","title":{"rendered":"SQL Server Setup Failed to compile the Managed Object Format (MOF) file C:\\Program Files\\Microsoft SQL Server\\90\\Shared\\sqlmgmproviderxpsp2up.mof. To proceed, see &#8220;Troubleshooting an Installation of SQL Server 2005&#8221; or &#8220;How to: View SQL Server 2005 Setup Log Files&#8221; in SQL Server 2005 Setup Help documentation."},"content":{"rendered":"<p><strong>Error:<\/strong> <strong><\/strong>SQL Server Setup Failed to compile the Managed Object Format (MOF) file C:\\Program Files\\Microsoft SQL Server\\90\\Shared\\sqlmgmproviderxpsp2up.mof. To proceed, see &#8220;Troubleshooting an Installation of SQL Server 2005&#8221; or &#8220;How to: View SQL Server 2005 Setup Log Files&#8221; in SQL Server 2005 Setup Help documentation.<\/p>\n<p><strong>Error Message:<\/strong><\/p>\n<p><strong><\/strong> <a href=\"http:\/\/techsupport.relyonsoft.in\/wp-content\/uploads\/2012\/08\/MOF.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-809\" title=\"MOF\" src=\"http:\/\/techsupport.relyonsoft.in\/wp-content\/uploads\/2012\/08\/MOF.jpg\" alt=\"\" width=\"466\" height=\"123\" srcset=\"https:\/\/relyonsoft.in\/techsupport\/wp-content\/uploads\/2012\/08\/MOF.jpg 466w, https:\/\/relyonsoft.in\/techsupport\/wp-content\/uploads\/2012\/08\/MOF-300x79.jpg 300w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/a><\/p>\n<p><strong>Causes:<\/strong><\/p>\n<ol>\n<li>The problem is that the WMI repository is corrupted. Required to re-install the WMI.<\/li>\n<li>Windows Management Instumentation service might be stopped\/disabled.<\/li>\n<\/ol>\n<p><strong>Workaround 1:<\/strong><\/p>\n<p>The above error indicates that the WMI repository might be inconsistent so to resolve the error we need to run the following command. Click Start | Run | type cmd | Click OK. Open command prompt as Run as Administrator type winmgmt \/verifyrepository Click Enter. output: WMI repository is INCONSISTENT If the output shows that WMI repository is INCONSISTENT we need to run the following command to salvage the repository. type winmgmt \/salvagerepository output: WMI repository salvage failed It may throw the following error when you fire the above command for the first time so run the command again as shown. type winmgmt \/salvagerepository output: WMI repository has been salvaged Once the above precaution is being taken we can start with the installation of the sql server express and it should go fine.<\/p>\n<p><strong><strong>Workaround<\/strong>\u00a02:<\/strong><\/p>\n<p>Click Start | Run | type control | Click OK. Open Control Panel | Administrative Tools | Services | Right Click on &#8220;Windows Management Instrumentation&#8221; | Restart it.<\/p>\n<p><strong><strong>Workaround<\/strong>\u00a03:<\/strong><\/p>\n<p>Run WmiFix.bat. Download: <a title=\"WMI\" href=\"https:\/\/www.dropbox.com\/s\/w4eesf8v26d7l9d\/SqlWmiFix.bat\" target=\"_blank\">WmiFix.bat<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: SQL Server Setup Failed to compile the Managed Object Format (MOF) file C:\\Program Files\\Microsoft SQL Server\\90\\Shared\\sqlmgmproviderxpsp2up.mof. To proceed, see &#8220;Troubleshooting an Installation of SQL Server 2005&#8221; or &#8220;How to: View SQL Server 2005 Setup Log Files&#8221; in SQL Server 2005 Setup Help documentation. Error Message: Causes: The problem is that the WMI repository is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts\/93"}],"collection":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}