August 18, 2008 at 6:43 pm
Hi all,
I have the this error when i copen the sql server configuration manager i tried to google it and found that if .MOF file is missing in C:\Program Files\Microsoft SQL Server\90\Shared then this could occour. Then i copy and paste sqlmgmproviderxpsp2up.mof file from healthy server and run the command on the command prompt:
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
But it gives me this error
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmprovider
xpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on lines 4 -
7:
Error Number: 0x80041014, Facility: WMI
Description: Initialization failure
Compiler returned error 0x80041014
Please help me to solve this error
Zombi
August 19, 2008 at 1:31 am
Hi everyone,
Do not bother about this post now. i resolved it by my self. It was some problem with the .dll files. so now it is all right.
zombi
August 4, 2011 at 8:31 am
Hi,
I know you solved this long back..could you please share what the problem was that you had with your dlls, and how you resolved it...I'm stuck here...:(
November 28, 2011 at 11:15 pm
sorry double posted after a last second edit
November 28, 2011 at 11:18 pm
For future reference, these are the steps required:
http://technet.microsoft.com/en-us/library/ff406382.aspx#
The article above is written very frankly and is by the scripting guys. I was going to write my steps but I think that's not a good idea because your situation might be slightly different to mine.
Generally speaking it might require some combination of registering DLL files, EXE files, Repairing the WMI Repository and running MofComp command , but it depends on your windows server version amongst other things. The article lays it out well.
This issue happened to me when I tried to run SQL Server Configuration Manager. It just quits with the error about no permission to WMI or WMI not initializing.
It also prevents you from being able to update SQL server with hotfixes because they also try to connect to WMI to check you have the appropriate version installed.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply