I am trying to find a simple portable database (localdb) to use with my .Net apps so I am trying to install SQL Server 2012 express.
I get a MOF and WMI errors when installing SQL Server 2012 Express. I am not a database/windows person so not sure how to solve this complex problem. I have spent 2 days googling, tried many things already posted on this error in 2012 and 2008 with no results.
The history is the machine is Win 7 64 bit. I had SQL Server 2005 installed sucessfully for years running with .Net until in 2013 a windows update suddenly trashed the instance and I was unable to connect to the database anymore. (Same exact thing happened on my laptop at the exact same time thus for sure it was a windows update).
So I have uninstalled 2005 and tried to install 2012.
On the install it errors out twice:
1. Slp_Config_Install_Core_WMI_Provider_Cpu64
A MOF syntax Error occured
2. RS_RunInstallScriptsAction_Cpu_64
Error call to RS WMI native function to retrieve database scripts. Error Code -2147220975
I have tried running mofcomp sqlmgmproviderxpsp2up.mof manually and I get an error
mofcomp C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof
…
Storing data in the repository…
An Error occurred while processing item 10 defined on lines 73 – 79 in file sqlmgmproviderxpsp2up.mof:
Error number: 0x80070005, Facility: Win32
Description: Access is denied.
The 73 to 79 lines in the file are:
Instance of RegServices
{
LName = "msftesql$";
Name = "msftesql";
ServiceType = "Full Text";
Type = 3;
};
I have also tried
Winmgmt /verifyrepository
And it comes back WMI repository is consistant.
I am also running all commands as administrator.
Like I said I really have no clue what I am doing soI may not even be looking in the right place.
Any insight appreciated. If you need more details just tell me what to get.
thanks, rick