July 13, 2008 at 1:53 pm
hello all.
i have sql server enterprise 2005 on cluster server.
my windows user is sysadmin on the sql server, when am trying to use sql configuration manager i get "access denied wmi provider"
also when i login as the sql server account am still getting the same msg.
can u tell me whats wrong? and how to fix this.
..>>..
MobashA
July 13, 2008 at 3:49 pm
check this link
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1721211&SiteID=1
it may be of some use
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
July 13, 2008 at 8:54 pm
Try this solution:Goto Start-RUN-CMD (command Prompt)
then run this command. whatever the path of your SQL Binaries....
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
Maninder
www.dbanation.com
July 13, 2008 at 11:36 pm
i have no file like mofcomp in the path C:\Program Files\Microsoft SQL Server\90\Shared?
..>>..
MobashA
July 15, 2008 at 2:50 am
mofcomp is a system utility. It compiles the mof file that is in the location specified. One of the main uses of compiled mof files is to make additional facilities available to GPO processing.
Google can tell you more about mofcomp, mof files and GPOs if you want this information.
Original author: https://github.com/SQL-FineBuild/Common/wiki/ 1-click install and best practice configuration of SQL Server 2019, 2017 2016, 2014, 2012, 2008 R2, 2008 and 2005.
When I give food to the poor they call me a saint. When I ask why they are poor they call me a communist - Archbishop Hélder Câmara
July 15, 2008 at 7:18 am
so if i found mofcomp in the windows files i can still ues it, right..
..>>..
MobashA
January 25, 2010 at 10:04 am
Mani Singh (7/13/2008)
Try this solution:Goto Start-RUN-CMD (command Prompt)then run this command. whatever the path of your SQL Binaries....
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
hi.. i am also having the same problem.but while running this command from command prompt its giving the error message "'mofcomp' is not recognized as an internal or external command,
operable program or batch file."
Sql Server 2005 standard edition & windows xp
Kindly let me know how to resolve this issue.
January 25, 2010 at 11:07 am
are you copying and pasting the text from this site to the command prompt?
if not, can you post the exact command you are using?
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
January 26, 2010 at 7:00 am
Perry Whittle (1/25/2010)
are you copying and pasting the text from this site to the command prompt?if not, can you post the exact command you are using?
i have tried the same command what is there in the forum ...
September 24, 2010 at 12:56 am
An error occurred while processing item 1 defined on lines 4 - 7 in file C:\Prog
ram Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof:
this is the error i got when i was running the above cmd
can anyone please help me???
February 7, 2012 at 6:01 am
try this first
go to c:\windows\system32\wbem
run the below command
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof". for sql server 2008
mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof". for sql server 2005
EX:
{
C:\WINDOWS\system32\wbem>mofcomp "C:\program files\microsoft sql server\90\share
d\sqlmgmproviderxpsp2up.mof"
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
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...
Done!
}
try to open congiguration manager will work..
if not still..
Copy the file: "framedyn.dll" from folder: "C:\WINDOWS\system32\wbem" TO folder: "C:\WINDOWS\system32" . it maybe works~
August 22, 2014 at 10:54 am
This worked perfectly fine.
Thanks a lot
Awesome
sakareem.net (2/7/2012)
try this firstgo to c:\windows\system32\wbem
run the below command
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof". for sql server 2008
mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof". for sql server 2005
EX:
{
C:\WINDOWS\system32\wbem>mofcomp "C:\program files\microsoft sql server\90\share
d\sqlmgmproviderxpsp2up.mof"
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
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...
Done!
}
try to open congiguration manager will work..
if not still..
Copy the file: "framedyn.dll" from folder: "C:\WINDOWS\system32\wbem" TO folder: "C:\WINDOWS\system32" . it maybe works~
September 10, 2014 at 5:26 am
What if the .mof file is missing.I am facing this problem right now for SQL 2012.Please reply.
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply