Zack
asked on
SQL Server Configuration Manager WMI Error
Hi EE,
I am getting the error which is described in this article:
http://tritoneco.com/2014/05/15/fix-sql-configuration-manager-cannot-connect-to-wmi-provider/
However when I apply the 'fix' described I get the following error message:
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp sqlmgmproviderxpsp2up.mo
f
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while processing item 1 defined on lines 4 - 7 in file sqlmgmp
roviderxpsp2up.mof:
Error Number: 0x80041003, Facility: WMI
Description: Access denied
Compiler returned error 0x80041001
C:\Program Files\Microsoft SQL Server\90\Shared>
What permissions are causing this error to occur?
Any assistance is welcome.
Thank you.
I am getting the error which is described in this article:
http://tritoneco.com/2014/05/15/fix-sql-configuration-manager-cannot-connect-to-wmi-provider/
However when I apply the 'fix' described I get the following error message:
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp sqlmgmproviderxpsp2up.mo
f
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while processing item 1 defined on lines 4 - 7 in file sqlmgmp
roviderxpsp2up.mof:
Error Number: 0x80041003, Facility: WMI
Description: Access denied
Compiler returned error 0x80041001
C:\Program Files\Microsoft SQL Server\90\Shared>
What permissions are causing this error to occur?
Any assistance is welcome.
Thank you.
Zack, instead of providing us an article, I think it will be better if you provide us the information of what you originally tried to do for the error being thrown?
ASKER
HI Vitor,
Can do please see the attached screenshot of the error message.
Thank you.
WMI-Error-message.PNG
Can do please see the attached screenshot of the error message.
Thank you.
WMI-Error-message.PNG
That's the error message and we already know about it. My question is what kind of operation you're doing for the error appear.
ASKER
Hi Vitor,
In CMD I navigated to the C:\Program Files\Microsoft SQL Server\90\Shared folder
and ran the command: mofcomp sqlmgmproviderxpsp2up.mof
Error message:
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while processing item 1 defined on lines 4 - 7 in file sqlmgmp
roviderxpsp2up.mof:
Error Number: 0x80041003, Facility: WMI
Description: Access denied
Compiler returned error 0x80041001
Thank you.
In CMD I navigated to the C:\Program Files\Microsoft SQL Server\90\Shared folder
and ran the command: mofcomp sqlmgmproviderxpsp2up.mof
Error message:
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while processing item 1 defined on lines 4 - 7 in file sqlmgmp
roviderxpsp2up.mof:
Error Number: 0x80041003, Facility: WMI
Description: Access denied
Compiler returned error 0x80041001
Thank you.
ASKER
Hi Vitor,
Additional I was running in CMD as the administrator.
Thank you.
Additional I was running in CMD as the administrator.
Thank you.
Ok.
Did you try to open the CMD prompt as Administrator? Usually this will give you admin rights and it may solve the access denied issue.
Did you try to open the CMD prompt as Administrator? Usually this will give you admin rights and it may solve the access denied issue.
ASKER
Hi Vitor,
I did open the CMD prompt as Administrator.
Thank you.
I did open the CMD prompt as Administrator.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That got it running the mofcomp.exe command that from that folder fixed the issue.
Thank you.
Thank you.
So it might be some incompatible issue.
ASKER
Hi Vitor,
I presume so it's old box. In either case, it's overdue for an OS install and upgrades.
Thank you.
I presume so it's old box. In either case, it's overdue for an OS install and upgrades.
Thank you.